#C762C8#C762C8

#C762C8 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.179 H 327.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C762C8
RGBrgb(199, 98, 200)
HSLhsl(299, 48%, 58%)
HSVhsv(299, 51%, 78%)
CMYKcmyk(0.5%, 51%, 0%, 21.6%)
CIE-LABlab(57.12, 54.27, -35.53)
CIE-LCHlch(57.12, 64.87, 326.78°)
OKLaboklab(65.29% 0.1505 -0.0976)
OKLCHoklch(65.29% 0.179 327)
XYZxyz(38.3455, 25.0497, 57.4477)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762C8 #63C862
analogous
#9462C8 #C762C8 #C86296
triadic
#C762C8 #C8C762 #62C8C7
tetradic
#C762C8 #C89462 #63C862 #6296C8
square
#C762C8 #C89462 #63C862 #6296C8
split-complementary
#C762C8 #96C862 #62C894
monochromatic
#812E82 #AE3DAF #C762C8 #D78FD8 #E7BDE8

Accessibility & contrast

On white

3.49
#C762C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C762C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762C8#FFFFFF#000000##000000
##C762C81.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#CC6D8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c762c8;
/* rgb */ color: rgb(199, 98, 200);
/* oklch */ color: oklch(65.3% 0.179 327.0);
Tailwind
colors: {
  custom: {
    50: '#da93d9',
    500: '#c762c8',
    950: '#000000',
  },
}
SCSS
$custom: #c762c8;
$custom-light: #da93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c762c8",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 299.412,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65293,
    "c": 0.17939,
    "h": 327
  },
  "luminance": 0.25048
}

Semantic roles & 50–950 ramp

primary
#C762C8
secondary
#AFD7AF
accent
#D85051
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C762C8

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

Preview Lab → · Contrast checker → · Palette generator →

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