#C762F6#C762F6

#C762F6 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.223 H 313.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#C762F6
RGBrgb(199, 98, 246)
HSLhsl(281, 89%, 67%)
HSVhsv(281, 60%, 96%)
CMYKcmyk(19.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(59.46, 63.13, -57.68)
CIE-LCHlch(59.46, 85.51, 317.58°)
OKLaboklab(67.76% 0.1537 -0.1619)
OKLCHoklch(67.76% 0.223 313.5)
XYZxyz(44.5526, 27.5326, 90.1383)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762F6 #91F662
analogous
#7D62F6 #C762F6 #F662DB
triadic
#C762F6 #F6C762 #62F6C7
tetradic
#C762F6 #F67D62 #91F662 #62DBF6
square
#C762F6 #F67D62 #91F662 #62DBF6
split-complementary
#C762F6 #DBF662 #62F67D
monochromatic
#930CD2 #B228F3 #C762F6 #DC9CF9 #F0D6FD

Accessibility & contrast

On white

3.23
#C762F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#C762F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762F6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762F6#FFFFFF#000000##000000
##C762F61.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#C37DA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c762f6;
/* rgb */ color: rgb(199, 98, 246);
/* oklch */ color: oklch(67.8% 0.223 313.5);
Tailwind
colors: {
  custom: {
    50: '#db94fa',
    500: '#c762f6',
    950: '#000000',
  },
}
SCSS
$custom: #c762f6;
$custom-light: #db94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c762f6",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 280.946,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.22327,
    "h": 313.5
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#C762F6
secondary
#D1F1C3
accent
#E60049
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C762F6

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

Preview Lab → · Contrast checker → · Palette generator →

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