#C02FB1#C02FB1

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

Color values

HEX#C02FB1
RGBrgb(192, 47, 177)
HSLhsl(306, 61%, 47%)
HSVhsv(306, 76%, 75%)
CMYKcmyk(0%, 75.5%, 7.8%, 24.7%)
CIE-LABlab(47.52, 69.25, -37.38)
CIE-LCHlch(47.52, 78.69, 331.64°)
OKLaboklab(57.73% 0.1996 -0.1027)
OKLCHoklch(57.73% 0.224 332.8)
XYZxyz(30.6907, 16.4164, 43.1387)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FB1 #2FC03E
analogous
#872FC0 #C02FB1 #C02F69
triadic
#C02FB1 #B1C02F #2FB1C0
tetradic
#C02FB1 #C0872F #2FC03E #2F69C0
square
#C02FB1 #C0872F #2FC03E #2F69C0
split-complementary
#C02FB1 #69C02F #2FC087
monochromatic
#5E1756 #8F2384 #C02FB1 #D656C9 #E288D8

Accessibility & contrast

On white

4.90
#C02FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C02FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FB1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FB1#FFFFFF#000000##FFFFFF
##C02FB11.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#C93F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02fb1;
/* rgb */ color: rgb(192, 47, 177);
/* oklch */ color: oklch(57.7% 0.224 332.8);
Tailwind
colors: {
  custom: {
    50: '#d777c9',
    500: '#c02fb1',
    950: '#000000',
  },
}
SCSS
$custom: #c02fb1;
$custom-light: #d777c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fb1",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 306.207,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.22449,
    "h": 332.8
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#C02FB1
secondary
#7FCB87
accent
#E45544
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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