#C762FF#C762FF

#C762FF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.3% C 0.232 H 311.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C762FF
RGBrgb(199, 98, 255)
HSLhsl(279, 100%, 69%)
HSVhsv(279, 62%, 100%)
CMYKcmyk(22%, 61.6%, 0%, 0%)
CIE-LABlab(59.98, 64.98, -61.84)
CIE-LCHlch(59.98, 89.70, 316.42°)
OKLaboklab(68.3% 0.1536 -0.1741)
OKLCHoklch(68.3% 0.232 311.4)
XYZxyz(45.9675, 28.0986, 97.5904)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C762FF #9AFF62
analogous
#7962FF #C762FF #FF62E8
triadic
#C762FF #FFC762 #62FFC7
tetradic
#C762FF #FF7962 #9AFF62 #62E8FF
square
#C762FF #FF7962 #9AFF62 #62E8FF
split-complementary
#C762FF #E8FF62 #62FF79
monochromatic
#9400E7 #B125FF #C762FF #DD9FFF #F3DCFF

Accessibility & contrast

On white

3.17
#C762FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#C762FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C762FF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C762FF#FFFFFF#000000##000000
##C762FF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8CFF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#C080A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c762ff;
/* rgb */ color: rgb(199, 98, 255);
/* oklch */ color: oklch(68.3% 0.232 311.4);
Tailwind
colors: {
  custom: {
    50: '#dc94ff',
    500: '#c762ff',
    950: '#000000',
  },
}
SCSS
$custom: #c762ff;
$custom-light: #dc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c762ff",
  "rgb": {
    "r": 199,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 278.599,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68302,
    "c": 0.23217,
    "h": 311.4
  },
  "luminance": 0.28097
}

Semantic roles & 50–950 ramp

primary
#C762FF
secondary
#D8F5C8
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C762FF

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

Preview Lab → · Contrast checker → · Palette generator →

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