#C02EBB#C02EBB

#C02EBB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.233 H 329.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C02EBB
RGBrgb(192, 46, 187)
HSLhsl(302, 61%, 47%)
HSVhsv(302, 76%, 75%)
CMYKcmyk(0%, 76%, 2.6%, 24.7%)
CIE-LABlab(47.94, 71.07, -42.56)
CIE-LCHlch(47.94, 82.84, 329.08°)
OKLaboklab(58.21% 0.2006 -0.1177)
OKLCHoklch(58.21% 0.233 329.6)
XYZxyz(31.6847, 16.7508, 48.5685)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EBB #2EC033
analogous
#7C2EC0 #C02EBB #C02E72
triadic
#C02EBB #BBC02E #2EBBC0
tetradic
#C02EBB #C07C2E #2EC033 #2E72C0
square
#C02EBB #C07C2E #2EC033 #2E72C0
split-complementary
#C02EBB #72C02E #2EC07C
monochromatic
#5D165B #8F228B #C02EBB #D655D2 #E286DF

Accessibility & contrast

On white

4.83
#C02EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C02EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EBB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EBB#FFFFFF#000000##FFFFFF
##C02EBB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#C74473
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02ebb;
/* rgb */ color: rgb(192, 46, 187);
/* oklch */ color: oklch(58.2% 0.233 329.6);
Tailwind
colors: {
  custom: {
    50: '#d777d0',
    500: '#c02ebb',
    950: '#000000',
  },
}
SCSS
$custom: #c02ebb;
$custom-light: #d777d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ebb",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 302.055,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.23261,
    "h": 329.6
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#C02EBB
secondary
#7ECC81
accent
#E44943
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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