#C762EA#C762EA

#C762EA is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.211 H 316.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C762EA
RGBrgb(199, 98, 234)
HSLhsl(285, 76%, 65%)
HSVhsv(285, 58%, 92%)
CMYKcmyk(15%, 58.1%, 0%, 8.2%)
CIE-LABlab(58.81, 60.71, -52.06)
CIE-LCHlch(58.81, 79.97, 319.39°)
OKLaboklab(67.07% 0.1535 -0.1455)
OKLCHoklch(67.07% 0.212 316.5)
XYZxyz(42.7699, 26.8195, 80.7497)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762EA #85EA62
analogous
#8362EA #C762EA #EA62C9
triadic
#C762EA #EAC762 #62EAC7
tetradic
#C762EA #EA8362 #85EA62 #62C9EA
square
#C762EA #EA8362 #85EA62 #62C9EA
split-complementary
#C762EA #C9EA62 #62EA83
monochromatic
#9019B9 #B42CE3 #C762EA #DA98F1 #EECEF8

Accessibility & contrast

On white

3.30
#C762EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C762EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762EA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762EA#FFFFFF#000000##000000
##C762EA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#C5799D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c762ea;
/* rgb */ color: rgb(199, 98, 234);
/* oklch */ color: oklch(67.1% 0.211 316.5);
Tailwind
colors: {
  custom: {
    50: '#db93f1',
    500: '#c762ea',
    950: '#000000',
  },
}
SCSS
$custom: #c762ea;
$custom-light: #db93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c762ea",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 284.559,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67074,
    "c": 0.2115,
    "h": 316.5
  },
  "luminance": 0.26818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C762EA

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

Preview Lab → · Contrast checker → · Palette generator →

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