#C768FD#C768FD

#C768FD is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.9% C 0.222 H 311.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#C768FD
RGBrgb(199, 104, 253)
HSLhsl(278, 97%, 70%)
HSVhsv(278, 59%, 99%)
CMYKcmyk(21.3%, 58.9%, 0%, 0.8%)
CIE-LABlab(60.90, 61.75, -59.26)
CIE-LCHlch(60.90, 85.58, 316.18°)
OKLaboklab(68.94% 0.1466 -0.1666)
OKLCHoklch(68.94% 0.222 311.4)
XYZxyz(46.2299, 29.1356, 96.0979)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768FD #9EFD68
analogous
#7C68FD #C768FD #FD68E9
triadic
#C768FD #FDC768 #68FDC7
tetradic
#C768FD #FD7C68 #9EFD68 #68E9FD
square
#C768FD #FD7C68 #9EFD68 #68E9FD
split-complementary
#C768FD #E9FD68 #68FD7C
monochromatic
#9503E8 #B12CFC #C768FD #DDA4FE #F4E1FF

Accessibility & contrast

On white

3.08
#C768FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#C768FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768FD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768FD#FFFFFF#000000##000000
##C768FD1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#C184A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c768fd;
/* rgb */ color: rgb(199, 104, 253);
/* oklch */ color: oklch(68.9% 0.222 311.4);
Tailwind
colors: {
  custom: {
    50: '#db97ff',
    500: '#c768fd',
    950: '#000000',
  },
}
SCSS
$custom: #c768fd;
$custom-light: #db97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c768fd",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 278.255,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.22189,
    "h": 311.4
  },
  "luminance": 0.29135
}

Semantic roles & 50–950 ramp

primary
#C768FD
secondary
#DBF5CC
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C768FD

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

Preview Lab → · Contrast checker → · Palette generator →

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