#C762CA#C762CA

#C762CA is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.181 H 326.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C762CA
RGBrgb(199, 98, 202)
HSLhsl(298, 50%, 59%)
HSVhsv(298, 51%, 79%)
CMYKcmyk(1.5%, 51.5%, 0%, 20.8%)
CIE-LABlab(57.22, 54.63, -36.53)
CIE-LCHlch(57.22, 65.71, 326.23°)
OKLaboklab(65.39% 0.1508 -0.1005)
OKLCHoklch(65.39% 0.181 326.3)
XYZxyz(38.5808, 25.1439, 58.6868)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762CA #65CA62
analogous
#9362CA #C762CA #CA6299
triadic
#C762CA #CAC762 #62CAC7
tetradic
#C762CA #CA9362 #65CA62 #6299CA
square
#C762CA #CA9362 #65CA62 #6299CA
split-complementary
#C762CA #99CA62 #62CA93
monochromatic
#822D85 #AF3CB3 #C762CA #D790D9 #E8BEE9

Accessibility & contrast

On white

3.48
#C762CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C762CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762CA#FFFFFF#000000##000000
##C762CA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#CC6E8D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c762ca;
/* rgb */ color: rgb(199, 98, 202);
/* oklch */ color: oklch(65.4% 0.181 326.3);
Tailwind
colors: {
  custom: {
    50: '#da93da',
    500: '#c762ca',
    950: '#000000',
  },
}
SCSS
$custom: #c762ca;
$custom-light: #da93da;
$custom-dark: #000000;
JSON
{
  "hex": "#c762ca",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 298.269,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6539,
    "c": 0.18119,
    "h": 326.3
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#C762CA
secondary
#B1D8AF
accent
#D94F53
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C762CA

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

Preview Lab → · Contrast checker → · Palette generator →

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