#C762CD#C762CD

#C762CD is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.5% C 0.184 H 325.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C762CD
RGBrgb(199, 98, 205)
HSLhsl(297, 52%, 59%)
HSVhsv(297, 52%, 80%)
CMYKcmyk(2.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(57.35, 55.17, -38.02)
CIE-LCHlch(57.35, 67.00, 325.43°)
OKLaboklab(65.54% 0.1512 -0.1048)
OKLCHoklch(65.54% 0.184 325.3)
XYZxyz(38.9394, 25.2873, 60.5756)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762CD #68CD62
analogous
#9262CD #C762CD #CD629D
triadic
#C762CD #CDC762 #62CDC7
tetradic
#C762CD #CD9262 #68CD62 #629DCD
square
#C762CD #CD9262 #68CD62 #629DCD
split-complementary
#C762CD #9DCD62 #62CD92
monochromatic
#842C89 #B03AB7 #C762CD #D890DC #E8BFEB

Accessibility & contrast

On white

3.47
#C762CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C762CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762CD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762CD#FFFFFF#000000##000000
##C762CD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#CB6F8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c762cd;
/* rgb */ color: rgb(199, 98, 205);
/* oklch */ color: oklch(65.5% 0.184 325.3);
Tailwind
colors: {
  custom: {
    50: '#da93dc',
    500: '#c762cd',
    950: '#000000',
  },
}
SCSS
$custom: #c762cd;
$custom-light: #da93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c762cd",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 296.636,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65538,
    "c": 0.18393,
    "h": 325.3
  },
  "luminance": 0.25285
}

Semantic roles & 50–950 ramp

primary
#C762CD
secondary
#B3DAB1
accent
#DB4D55
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C762CD

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

Preview Lab → · Contrast checker → · Palette generator →

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