#C768F8#C768F8

#C768F8 is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.6% C 0.217 H 312.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#C768F8
RGBrgb(199, 104, 248)
HSLhsl(280, 91%, 69%)
HSVhsv(280, 58%, 97%)
CMYKcmyk(19.8%, 58.1%, 0%, 2.7%)
CIE-LABlab(60.62, 60.70, -56.94)
CIE-LCHlch(60.62, 83.23, 316.83°)
OKLaboklab(68.64% 0.1465 -0.1598)
OKLCHoklch(68.64% 0.217 312.5)
XYZxyz(45.4438, 28.8212, 91.9579)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768F8 #99F868
analogous
#7F68F8 #C768F8 #F868E1
triadic
#C768F8 #F8C768 #68F8C7
tetradic
#C768F8 #F87F68 #99F868 #68E1F8
square
#C768F8 #F87F68 #99F868 #68E1F8
split-complementary
#C768F8 #E1F868 #68F87F
monochromatic
#940ADB #B12EF5 #C768F8 #DDA2FB #F2DDFD

Accessibility & contrast

On white

3.10
#C768F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#C768F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768F8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768F8#FFFFFF#000000##000000
##C768F81.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#C282A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c768f8;
/* rgb */ color: rgb(199, 104, 248);
/* oklch */ color: oklch(68.6% 0.217 312.5);
Tailwind
colors: {
  custom: {
    50: '#db97fb',
    500: '#c768f8',
    950: '#000000',
  },
}
SCSS
$custom: #c768f8;
$custom-light: #db97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c768f8",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 279.583,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68644,
    "c": 0.21682,
    "h": 312.5
  },
  "luminance": 0.2882
}

Semantic roles & 50–950 ramp

primary
#C768F8
secondary
#D7F3C9
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C768F8

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

Preview Lab → · Contrast checker → · Palette generator →

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