#C02FB0#C02FB0

#C02FB0 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.224 H 333.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C02FB0
RGBrgb(192, 47, 176)
HSLhsl(307, 61%, 47%)
HSVhsv(307, 76%, 75%)
CMYKcmyk(0%, 75.5%, 8.3%, 24.7%)
CIE-LABlab(47.46, 69.10, -36.87)
CIE-LCHlch(47.46, 78.32, 331.91°)
OKLaboklab(57.68% 0.1996 -0.1013)
OKLCHoklch(57.68% 0.224 333.1)
XYZxyz(30.5914, 16.3767, 42.6157)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB0 #2FC03F
analogous
#882FC0 #C02FB0 #C02F67
triadic
#C02FB0 #B0C02F #2FB0C0
tetradic
#C02FB0 #C0882F #2FC03F #2F67C0
square
#C02FB0 #C0882F #2FC03F #2F67C0
split-complementary
#C02FB0 #67C02F #2FC088
monochromatic
#5E1756 #8F2383 #C02FB0 #D656C8 #E288D8

Accessibility & contrast

On white

4.91
#C02FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C02FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB0#FFFFFF#000000##FFFFFF
##C02FB01.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#C93F6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb0;
/* rgb */ color: rgb(192, 47, 176);
/* oklch */ color: oklch(57.7% 0.224 333.1);
Tailwind
colors: {
  custom: {
    50: '#d777c8',
    500: '#c02fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb0;
$custom-light: #d777c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb0",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 306.621,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.22378,
    "h": 333.1
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#C02FB0
secondary
#7FCB88
accent
#E45644
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C02FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva