#C762ED#C762ED

#C762ED is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.2% C 0.214 H 315.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C762ED
RGBrgb(199, 98, 237)
HSLhsl(284, 79%, 66%)
HSVhsv(284, 59%, 93%)
CMYKcmyk(16%, 58.6%, 0%, 7.1%)
CIE-LABlab(58.97, 61.31, -53.47)
CIE-LCHlch(58.97, 81.35, 318.90°)
OKLaboklab(67.24% 0.1536 -0.1496)
OKLCHoklch(67.24% 0.214 315.7)
XYZxyz(43.2046, 26.9934, 83.0387)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762ED #88ED62
analogous
#8162ED #C762ED #ED62CE
triadic
#C762ED #EDC762 #62EDC7
tetradic
#C762ED #ED8162 #88ED62 #62CEED
square
#C762ED #ED8162 #88ED62 #62CEED
split-complementary
#C762ED #CEED62 #62ED81
monochromatic
#9116BF #B32BE7 #C762ED #DB99F3 #EED0FA

Accessibility & contrast

On white

3.28
#C762ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#C762ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762ED
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762ED#FFFFFF#000000##000000
##C762ED1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#C57A9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c762ed;
/* rgb */ color: rgb(199, 98, 237);
/* oklch */ color: oklch(67.2% 0.214 315.7);
Tailwind
colors: {
  custom: {
    50: '#db94f3',
    500: '#c762ed',
    950: '#000000',
  },
}
SCSS
$custom: #c762ed;
$custom-light: #db94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c762ed",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 283.597,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.21444,
    "h": 315.7
  },
  "luminance": 0.26992
}

Semantic roles & 50–950 ramp

primary
#C762ED
secondary
#CBEDBE
accent
#DC0A43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C762ED

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

Preview Lab → · Contrast checker → · Palette generator →

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