#C896FE#C896FE

#C896FE is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.153 H 305.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C896FE
RGBrgb(200, 150, 254)
HSLhsl(269, 98%, 79%)
HSVhsv(269, 41%, 100%)
CMYKcmyk(21.3%, 40.9%, 0%, 0.4%)
CIE-LABlab(70.35, 38.34, -44.84)
CIE-LCHlch(70.35, 58.99, 310.53°)
OKLaboklab(75.99% 0.088 -0.1247)
OKLCHoklch(75.99% 0.153 305.2)
XYZxyz(52.6115, 41.2481, 98.9367)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C896FE #CCFE96
analogous
#9698FE #C896FE #FC96FE
triadic
#C896FE #FEC896 #96FEC8
tetradic
#C896FE #FE9698 #CCFE96 #96FEFC
square
#C896FE #FE9698 #CCFE96 #96FEFC
split-complementary
#C896FE #FEFC96 #98FE96
monochromatic
#881DFD #A859FD #C896FE #E8D3FF #EFE1FF

Accessibility & contrast

On white

2.27
#C896FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C896FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C896FE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C896FE#FFFFFF#000000##000000
##C896FE1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#C0A7BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c896fe;
/* rgb */ color: rgb(200, 150, 254);
/* oklch */ color: oklch(76.0% 0.153 305.2);
Tailwind
colors: {
  custom: {
    50: '#dab5ff',
    500: '#c896fe',
    950: '#000000',
  },
}
SCSS
$custom: #c896fe;
$custom-light: #dab5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c896fe",
  "rgb": {
    "r": 200,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 268.846,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.15266,
    "h": 305.2
  },
  "luminance": 0.41248
}

Semantic roles & 50–950 ramp

primary
#C896FE
secondary
#E6F7D4
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C896FE

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

Preview Lab → · Contrast checker → · Palette generator →

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