#C762EB#C762EB

#C762EB is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.1% C 0.212 H 316.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C762EB
RGBrgb(199, 98, 235)
HSLhsl(284, 77%, 65%)
HSVhsv(284, 58%, 92%)
CMYKcmyk(15.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(58.86, 60.91, -52.53)
CIE-LCHlch(58.86, 80.43, 319.22°)
OKLaboklab(67.13% 0.1535 -0.1469)
OKLCHoklch(67.13% 0.212 316.3)
XYZxyz(42.9140, 26.8771, 81.5084)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762EB #86EB62
analogous
#8362EB #C762EB #EB62CA
triadic
#C762EB #EBC762 #62EBC7
tetradic
#C762EB #EB8362 #86EB62 #62CAEB
square
#C762EB #EB8362 #86EB62 #62CAEB
split-complementary
#C762EB #CAEB62 #62EB83
monochromatic
#9018BB #B42CE4 #C762EB #DA98F2 #EECFF9

Accessibility & contrast

On white

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

On black

6.38
#C762EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762EB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762EB#FFFFFF#000000##000000
##C762EB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c762eb;
/* rgb */ color: rgb(199, 98, 235);
/* oklch */ color: oklch(67.1% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#db93f2',
    500: '#c762eb',
    950: '#000000',
  },
}
SCSS
$custom: #c762eb;
$custom-light: #db93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c762eb",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 284.234,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6713,
    "c": 0.21248,
    "h": 316.3
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#C762EB
secondary
#C9EBBD
accent
#DA0C42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C762EB

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

Preview Lab → · Contrast checker → · Palette generator →

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