#C768F5#C768F5

#C768F5 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.5% C 0.214 H 313.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#C768F5
RGBrgb(199, 104, 245)
HSLhsl(280, 88%, 68%)
HSVhsv(280, 58%, 96%)
CMYKcmyk(18.8%, 57.6%, 0%, 3.9%)
CIE-LABlab(60.46, 60.08, -55.54)
CIE-LCHlch(60.46, 81.82, 317.25°)
OKLaboklab(68.47% 0.1465 -0.1557)
OKLCHoklch(68.47% 0.214 313.2)
XYZxyz(44.9821, 28.6365, 89.5263)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768F5 #96F568
analogous
#8068F5 #C768F5 #F568DC
triadic
#C768F5 #F5C768 #68F5C7
tetradic
#C768F5 #F58068 #96F568 #68DCF5
square
#C768F5 #F58068 #96F568 #68DCF5
split-complementary
#C768F5 #DCF568 #68F580
monochromatic
#940ED5 #B22FF1 #C768F5 #DCA1F9 #F2DBFD

Accessibility & contrast

On white

3.12
#C768F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#C768F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768F5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768F5#FFFFFF#000000##000000
##C768F51.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFA
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#C381A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c768f5;
/* rgb */ color: rgb(199, 104, 245);
/* oklch */ color: oklch(68.5% 0.214 313.2);
Tailwind
colors: {
  custom: {
    50: '#db97f9',
    500: '#c768f5',
    950: '#000000',
  },
}
SCSS
$custom: #c768f5;
$custom-light: #db97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c768f5",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 280.426,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.21377,
    "h": 313.2
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#C768F5
secondary
#D5F2C7
accent
#E4014B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C768F5

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

Preview Lab → · Contrast checker → · Palette generator →

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