#C762EC#C762EC

#C762EC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.2% C 0.213 H 316.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C762EC
RGBrgb(199, 98, 236)
HSLhsl(284, 78%, 65%)
HSVhsv(284, 58%, 93%)
CMYKcmyk(15.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(58.91, 61.11, -53.00)
CIE-LCHlch(58.91, 80.89, 319.06°)
OKLaboklab(67.19% 0.1536 -0.1483)
OKLCHoklch(67.19% 0.213 316)
XYZxyz(43.0589, 26.9351, 82.2714)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762EC #87EC62
analogous
#8262EC #C762EC #EC62CC
triadic
#C762EC #ECC762 #62ECC7
tetradic
#C762EC #EC8262 #87EC62 #62CCEC
square
#C762EC #EC8262 #87EC62 #62CCEC
split-complementary
#C762EC #CCEC62 #62EC82
monochromatic
#9017BD #B42BE5 #C762EC #DA99F3 #EECFF9

Accessibility & contrast

On white

3.29
#C762EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C762EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762EC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762EC#FFFFFF#000000##000000
##C762EC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#C5799E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c762ec;
/* rgb */ color: rgb(199, 98, 236);
/* oklch */ color: oklch(67.2% 0.213 316.0);
Tailwind
colors: {
  custom: {
    50: '#db93f3',
    500: '#c762ec',
    950: '#000000',
  },
}
SCSS
$custom: #c762ec;
$custom-light: #db93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c762ec",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 283.913,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.21346,
    "h": 316
  },
  "luminance": 0.26934
}

Semantic roles & 50–950 ramp

primary
#C762EC
secondary
#CAECBE
accent
#DB0B43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C762EC

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

Preview Lab → · Contrast checker → · Palette generator →

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