#C768FE#C768FE

#C768FE is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 69.0% C 0.223 H 311.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C768FE
RGBrgb(199, 104, 254)
HSLhsl(278, 99%, 70%)
HSVhsv(278, 59%, 100%)
CMYKcmyk(21.7%, 59.1%, 0%, 0.4%)
CIE-LABlab(60.96, 61.96, -59.72)
CIE-LCHlch(60.96, 86.05, 316.05°)
OKLaboklab(68.99% 0.1466 -0.1679)
OKLCHoklch(68.99% 0.223 311.1)
XYZxyz(46.3896, 29.1995, 96.9390)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768FE #9FFE68
analogous
#7C68FE #C768FE #FE68EA
triadic
#C768FE #FEC768 #68FEC7
tetradic
#C768FE #FE7C68 #9FFE68 #68EAFE
square
#C768FE #FE7C68 #9FFE68 #68EAFE
split-complementary
#C768FE #EAFE68 #68FE7C
monochromatic
#9502EA #B02BFE #C768FE #DEA5FE #F4E1FF

Accessibility & contrast

On white

3.07
#C768FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C768FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768FE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768FE#FFFFFF#000000##000000
##C768FE1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#C084AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c768fe;
/* rgb */ color: rgb(199, 104, 254);
/* oklch */ color: oklch(69.0% 0.223 311.1);
Tailwind
colors: {
  custom: {
    50: '#db97ff',
    500: '#c768fe',
    950: '#000000',
  },
}
SCSS
$custom: #c768fe;
$custom-light: #db97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c768fe",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 278,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68995,
    "c": 0.22292,
    "h": 311.1
  },
  "luminance": 0.29199
}

Semantic roles & 50–950 ramp

primary
#C768FE
secondary
#DBF6CC
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C768FE

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

Preview Lab → · Contrast checker → · Palette generator →

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