#CE96FA#CE96FA

#CE96FA is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.4% C 0.150 H 309.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CE96FA
RGBrgb(206, 150, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 40%, 98%)
CMYKcmyk(17.6%, 40%, 0%, 2%)
CIE-LABlab(70.76, 39.16, -41.98)
CIE-LCHlch(70.76, 57.41, 313.01°)
OKLaboklab(76.37% 0.0942 -0.1164)
OKLCHoklch(76.37% 0.15 309)
XYZxyz(53.6120, 41.8373, 95.6750)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96FA #C2FA96
analogous
#9C96FA #CE96FA #FA96F4
triadic
#CE96FA #FACE96 #96FACE
tetradic
#CE96FA #FA9C96 #C2FA96 #96F4FA
square
#CE96FA #FA9C96 #C2FA96 #96F4FA
split-complementary
#CE96FA #F4FA96 #96FA9C
monochromatic
#9721F4 #B35CF7 #CE96FA #E9D0FD #F1E2FE

Accessibility & contrast

On white

2.24
#CE96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#CE96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96FA
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96FA#FFFFFF#000000##000000
##CE96FA1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#C8A5BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce96fa;
/* rgb */ color: rgb(206, 150, 250);
/* oklch */ color: oklch(76.4% 0.150 309.0);
Tailwind
colors: {
  custom: {
    50: '#deb5fc',
    500: '#ce96fa',
    950: '#000000',
  },
}
SCSS
$custom: #ce96fa;
$custom-light: #deb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96fa",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 273.6,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76372,
    "c": 0.14973,
    "h": 309
  },
  "luminance": 0.41837
}

Semantic roles & 50–950 ramp

primary
#CE96FA
secondary
#E4F6D5
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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