#C764FE#C764FE

#C764FE is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.5% C 0.228 H 311.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C764FE
RGBrgb(199, 100, 254)
HSLhsl(279, 99%, 69%)
HSVhsv(279, 61%, 100%)
CMYKcmyk(21.7%, 60.6%, 0%, 0.4%)
CIE-LABlab(60.26, 63.85, -60.83)
CIE-LCHlch(60.26, 88.19, 316.38°)
OKLaboklab(68.49% 0.1513 -0.1712)
OKLCHoklch(68.49% 0.228 311.5)
XYZxyz(45.9965, 28.4133, 96.8080)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C764FE #9BFE64
analogous
#7A64FE #C764FE #FE64E8
triadic
#C764FE #FEC764 #64FEC7
tetradic
#C764FE #FE7A64 #9BFE64 #64E8FE
square
#C764FE #FE7A64 #9BFE64 #64E8FE
split-complementary
#C764FE #E8FE64 #64FE7A
monochromatic
#9401E6 #B127FE #C764FE #DDA1FE #F3DEFF

Accessibility & contrast

On white

3.14
#C764FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C764FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C764FE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C764FE#FFFFFF#000000##000000
##C764FE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#C081A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c764fe;
/* rgb */ color: rgb(199, 100, 254);
/* oklch */ color: oklch(68.5% 0.228 311.5);
Tailwind
colors: {
  custom: {
    50: '#dc95ff',
    500: '#c764fe',
    950: '#000000',
  },
}
SCSS
$custom: #c764fe;
$custom-light: #dc95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c764fe",
  "rgb": {
    "r": 199,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 278.571,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68488,
    "c": 0.22846,
    "h": 311.5
  },
  "luminance": 0.28412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C764FE

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

Preview Lab → · Contrast checker → · Palette generator →

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