#C762F8#C762F8

#C762F8 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 67.9% C 0.225 H 313.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C762F8
RGBrgb(199, 98, 248)
HSLhsl(280, 91%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(19.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(59.58, 63.54, -58.61)
CIE-LCHlch(59.58, 86.44, 317.31°)
OKLaboklab(67.88% 0.1537 -0.1647)
OKLCHoklch(67.88% 0.225 313)
XYZxyz(44.8612, 27.6560, 91.7637)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762F8 #93F862
analogous
#7C62F8 #C762F8 #F862DE
triadic
#C762F8 #F8C762 #62F8C7
tetradic
#C762F8 #F87C62 #93F862 #62DEF8
square
#C762F8 #F87C62 #93F862 #62DEF8
split-complementary
#C762F8 #DEF862 #62F87C
monochromatic
#930AD6 #B227F5 #C762F8 #DC9DFB #F1D7FD

Accessibility & contrast

On white

3.22
#C762F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C762F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762F8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762F8#FFFFFF#000000##000000
##C762F81.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFD
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#C27EA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c762f8;
/* rgb */ color: rgb(199, 98, 248);
/* oklch */ color: oklch(67.9% 0.225 313.0);
Tailwind
colors: {
  custom: {
    50: '#db94fb',
    500: '#c762f8',
    950: '#000000',
  },
}
SCSS
$custom: #c762f8;
$custom-light: #db94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c762f8",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 280.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.22525,
    "h": 313
  },
  "luminance": 0.27655
}

Semantic roles & 50–950 ramp

primary
#C762F8
secondary
#D3F2C4
accent
#E6004B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C762F8

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

Preview Lab → · Contrast checker → · Palette generator →

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