#C896FC#C896FC

#C896FC is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.9% C 0.150 H 305.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C896FC
RGBrgb(200, 150, 252)
HSLhsl(269, 94%, 79%)
HSVhsv(269, 40%, 99%)
CMYKcmyk(20.6%, 40.5%, 0%, 1.2%)
CIE-LABlab(70.26, 37.89, -43.89)
CIE-LCHlch(70.26, 57.98, 310.81°)
OKLaboklab(75.89% 0.0877 -0.122)
OKLCHoklch(75.89% 0.15 305.7)
XYZxyz(52.2929, 41.1206, 97.2588)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C896FC #CAFC96
analogous
#9697FC #C896FC #FB96FC
triadic
#C896FC #FCC896 #96FCC8
tetradic
#C896FC #FC9697 #CAFC96 #96FCFB
square
#C896FC #FC9697 #CAFC96 #96FCFB
split-complementary
#C896FC #FCFB96 #97FC96
monochromatic
#8A1FF9 #A95BFA #C896FC #E7D2FE #EFE1FE

Accessibility & contrast

On white

2.28
#C896FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C896FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C896FC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C896FC#FFFFFF#000000##000000
##C896FC1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#C0A6BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c896fc;
/* rgb */ color: rgb(200, 150, 252);
/* oklch */ color: oklch(75.9% 0.150 305.7);
Tailwind
colors: {
  custom: {
    50: '#dab5fe',
    500: '#c896fc',
    950: '#000000',
  },
}
SCSS
$custom: #c896fc;
$custom-light: #dab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c896fc",
  "rgb": {
    "r": 200,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 269.412,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.15023,
    "h": 305.7
  },
  "luminance": 0.4112
}

Semantic roles & 50–950 ramp

primary
#C896FC
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C896FC

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

Preview Lab → · Contrast checker → · Palette generator →

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