#C762DC#C762DC

#C762DC is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.3% C 0.198 H 320.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C762DC
RGBrgb(199, 98, 220)
HSLhsl(290, 64%, 62%)
HSVhsv(290, 55%, 86%)
CMYKcmyk(9.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(58.08, 57.98, -45.36)
CIE-LCHlch(58.08, 73.61, 321.96°)
OKLaboklab(66.31% 0.1527 -0.126)
OKLCHoklch(66.31% 0.198 320.5)
XYZxyz(40.8376, 26.0466, 70.5727)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762DC #77DC62
analogous
#8A62DC #C762DC #DC62B4
triadic
#C762DC #DCC762 #62DCC7
tetradic
#C762DC #DC8A62 #77DC62 #62B4DC
square
#C762DC #DC8A62 #77DC62 #62B4DC
split-complementary
#C762DC #B4DC62 #62DC8A
monochromatic
#8B24A0 #B530D1 #C762DC #D994E7 #EBC6F2

Accessibility & contrast

On white

3.38
#C762DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C762DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762DC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762DC#FFFFFF#000000##000000
##C762DC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#C87496
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c762dc;
/* rgb */ color: rgb(199, 98, 220);
/* oklch */ color: oklch(66.3% 0.198 320.5);
Tailwind
colors: {
  custom: {
    50: '#db93e7',
    500: '#c762dc',
    950: '#000000',
  },
}
SCSS
$custom: #c762dc;
$custom-light: #db93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c762dc",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 289.672,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.19799,
    "h": 320.5
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

primary
#C762DC
secondary
#BEE3B7
accent
#CB1A39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C762DC

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

Preview Lab → · Contrast checker → · Palette generator →

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