#C768F6#C768F6

#C768F6 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.5% C 0.215 H 313.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#C768F6
RGBrgb(199, 104, 246)
HSLhsl(280, 89%, 69%)
HSVhsv(280, 58%, 96%)
CMYKcmyk(19.1%, 57.7%, 0%, 3.5%)
CIE-LABlab(60.51, 60.29, -56.01)
CIE-LCHlch(60.51, 82.29, 317.11°)
OKLaboklab(68.53% 0.1465 -0.1571)
OKLCHoklch(68.53% 0.215 313)
XYZxyz(45.1352, 28.6978, 90.3325)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768F6 #97F668
analogous
#8068F6 #C768F6 #F668DE
triadic
#C768F6 #F6C768 #68F6C7
tetradic
#C768F6 #F68068 #97F668 #68DEF6
square
#C768F6 #F68068 #97F668 #68DEF6
split-complementary
#C768F6 #DEF668 #68F680
monochromatic
#940DD7 #B22EF3 #C768F6 #DCA2F9 #F2DCFD

Accessibility & contrast

On white

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

On black

6.74
#C768F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768F6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768F6#FFFFFF#000000##000000
##C768F61.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#6194F3
Tritanopia (blue-blind)
#C281A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c768f6;
/* rgb */ color: rgb(199, 104, 246);
/* oklch */ color: oklch(68.5% 0.215 313.0);
Tailwind
colors: {
  custom: {
    50: '#db97fa',
    500: '#c768f6',
    950: '#000000',
  },
}
SCSS
$custom: #c768f6;
$custom-light: #db97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c768f6",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 280.141,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68529,
    "c": 0.21479,
    "h": 313
  },
  "luminance": 0.28697
}

Semantic roles & 50–950 ramp

primary
#C768F6
secondary
#D6F2C8
accent
#E5004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C768F6

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

Preview Lab → · Contrast checker → · Palette generator →

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