#C896F8#C896F8

#C896F8 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.7% C 0.145 H 306.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C896F8
RGBrgb(200, 150, 248)
HSLhsl(271, 88%, 78%)
HSVhsv(271, 40%, 97%)
CMYKcmyk(19.4%, 39.5%, 0%, 2.7%)
CIE-LABlab(70.08, 37.01, -41.99)
CIE-LCHlch(70.08, 55.97, 311.39°)
OKLaboklab(75.7% 0.0869 -0.1165)
OKLCHoklch(75.7% 0.145 306.7)
XYZxyz(51.6657, 40.8698, 93.9556)
Luminance0.4087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C896F8 #C6F896
analogous
#9796F8 #C896F8 #F896F7
triadic
#C896F8 #F8C896 #96F8C8
tetradic
#C896F8 #F89796 #C6F896 #96F7F8
square
#C896F8 #F89796 #C6F896 #96F7F8
split-complementary
#C896F8 #F7F896 #96F897
monochromatic
#8C23F0 #AA5DF4 #C896F8 #E6CFFC #F0E2FD

Accessibility & contrast

On white

2.29
#C896F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C896F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C896F8
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C896F8#FFFFFF#000000##000000
##C896F81.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#C1A5BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c896f8;
/* rgb */ color: rgb(200, 150, 248);
/* oklch */ color: oklch(75.7% 0.145 306.7);
Tailwind
colors: {
  custom: {
    50: '#dab5fb',
    500: '#c896f8',
    950: '#000000',
  },
}
SCSS
$custom: #c896f8;
$custom-light: #dab5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c896f8",
  "rgb": {
    "r": 200,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 270.612,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75699,
    "c": 0.14536,
    "h": 306.7
  },
  "luminance": 0.40869
}

Semantic roles & 50–950 ramp

primary
#C896F8
secondary
#E5F5D6
accent
#E40170
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C896F8

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

Preview Lab → · Contrast checker → · Palette generator →

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