#C762DE#C762DE

#C762DE is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.4% C 0.200 H 319.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C762DE
RGBrgb(199, 98, 222)
HSLhsl(289, 65%, 63%)
HSVhsv(289, 56%, 87%)
CMYKcmyk(10.4%, 55.9%, 0%, 12.9%)
CIE-LABlab(58.18, 58.36, -46.32)
CIE-LCHlch(58.18, 74.51, 321.56°)
OKLaboklab(66.42% 0.1529 -0.1288)
OKLCHoklch(66.42% 0.2 319.9)
XYZxyz(41.1041, 26.1532, 71.9760)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762DE #79DE62
analogous
#8962DE #C762DE #DE62B7
triadic
#C762DE #DEC762 #62DEC7
tetradic
#C762DE #DE8962 #79DE62 #62B7DE
square
#C762DE #DE8962 #79DE62 #62B7DE
split-complementary
#C762DE #B7DE62 #62DE89
monochromatic
#8B22A3 #B52FD3 #C762DE #D995E9 #EBC7F3

Accessibility & contrast

On white

3.37
#C762DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C762DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762DE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762DE#FFFFFF#000000##000000
##C762DE1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#C87597
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c762de;
/* rgb */ color: rgb(199, 98, 222);
/* oklch */ color: oklch(66.4% 0.200 319.9);
Tailwind
colors: {
  custom: {
    50: '#db93e9',
    500: '#c762de',
    950: '#000000',
  },
}
SCSS
$custom: #c762de;
$custom-light: #db93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c762de",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 288.871,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66415,
    "c": 0.1999,
    "h": 319.9
  },
  "luminance": 0.26151
}

Semantic roles & 50–950 ramp

primary
#C762DE
secondary
#C0E4B7
accent
#CD183A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C762DE

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

Preview Lab → · Contrast checker → · Palette generator →

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