#C768F2#C768F2

#C768F2 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.3% C 0.211 H 314.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#C768F2
RGBrgb(199, 104, 242)
HSLhsl(281, 84%, 68%)
HSVhsv(281, 57%, 95%)
CMYKcmyk(17.8%, 57%, 0%, 5.1%)
CIE-LABlab(60.30, 59.46, -54.14)
CIE-LCHlch(60.30, 80.41, 317.68°)
OKLaboklab(68.3% 0.1464 -0.1516)
OKLCHoklch(68.3% 0.211 314)
XYZxyz(44.5279, 28.4548, 87.1339)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768F2 #93F268
analogous
#8268F2 #C768F2 #F268D8
triadic
#C768F2 #F2C768 #68F2C7
tetradic
#C768F2 #F28268 #93F268 #68D8F2
square
#C768F2 #F28268 #93F268 #68D8F2
split-complementary
#C768F2 #D8F268 #68F282
monochromatic
#9312CE #B230ED #C768F2 #DCA0F7 #F1D9FC

Accessibility & contrast

On white

3.14
#C768F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#C768F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768F2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768F2#FFFFFF#000000##000000
##C768F21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#6494EF
Tritanopia (blue-blind)
#C380A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c768f2;
/* rgb */ color: rgb(199, 104, 242);
/* oklch */ color: oklch(68.3% 0.211 314.0);
Tailwind
colors: {
  custom: {
    50: '#db97f7',
    500: '#c768f2',
    950: '#000000',
  },
}
SCSS
$custom: #c768f2;
$custom-light: #db97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c768f2",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 281.304,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68301,
    "c": 0.21074,
    "h": 314
  },
  "luminance": 0.28454
}

Semantic roles & 50–950 ramp

primary
#C768F2
secondary
#D3F0C6
accent
#E10549
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C768F2

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

Preview Lab → · Contrast checker → · Palette generator →

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