#C768FA#C768FA

#C768FA is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.8% C 0.219 H 312.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C768FA
RGBrgb(199, 104, 250)
HSLhsl(279, 94%, 69%)
HSVhsv(279, 58%, 98%)
CMYKcmyk(20.4%, 58.4%, 0%, 2%)
CIE-LABlab(60.73, 61.12, -57.87)
CIE-LCHlch(60.73, 84.17, 316.56°)
OKLaboklab(68.76% 0.1466 -0.1625)
OKLCHoklch(68.76% 0.219 312)
XYZxyz(45.7557, 28.9460, 93.6007)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C768FA #9BFA68
analogous
#7E68FA #C768FA #FA68E4
triadic
#C768FA #FAC768 #68FAC7
tetradic
#C768FA #FA7E68 #9BFA68 #68E4FA
square
#C768FA #FA7E68 #9BFA68 #68E4FA
split-complementary
#C768FA #E4FA68 #68FA7E
monochromatic
#9407E0 #B12DF8 #C768FA #DDA3FC #F3DEFE

Accessibility & contrast

On white

3.09
#C768FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C768FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C768FA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C768FA#FFFFFF#000000##000000
##C768FA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#5E95F6
Tritanopia (blue-blind)
#C183A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c768fa;
/* rgb */ color: rgb(199, 104, 250);
/* oklch */ color: oklch(68.8% 0.219 312.0);
Tailwind
colors: {
  custom: {
    50: '#db97fd',
    500: '#c768fa',
    950: '#000000',
  },
}
SCSS
$custom: #c768fa;
$custom-light: #db97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c768fa",
  "rgb": {
    "r": 199,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 279.041,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6876,
    "c": 0.21884,
    "h": 312
  },
  "luminance": 0.28945
}

Semantic roles & 50–950 ramp

primary
#C768FA
secondary
#D9F4CA
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C768FA

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

Preview Lab → · Contrast checker → · Palette generator →

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