#CE96F2#CE96F2

#CE96F2 is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.0% C 0.140 H 311.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CE96F2
RGBrgb(206, 150, 242)
HSLhsl(277, 78%, 77%)
HSVhsv(277, 38%, 95%)
CMYKcmyk(14.9%, 38%, 0%, 5.1%)
CIE-LABlab(70.42, 37.45, -38.15)
CIE-LCHlch(70.42, 53.46, 314.47°)
OKLaboklab(76% 0.0926 -0.1054)
OKLCHoklch(76% 0.14 311.3)
XYZxyz(52.3842, 41.3461, 89.2082)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE96F2 #BAF296
analogous
#A096F2 #CE96F2 #F296E8
triadic
#CE96F2 #F2CE96 #96F2CE
tetradic
#CE96F2 #F2A096 #BAF296 #96E8F2
square
#CE96F2 #F2A096 #BAF296 #96E8F2
split-complementary
#CE96F2 #E8F296 #96F2A0
monochromatic
#9B29E5 #B560EB #CE96F2 #E7CCF9 #F2E4FC

Accessibility & contrast

On white

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

On black

9.27
#CE96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE96F2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE96F2#FFFFFF#000000##000000
##CE96F21.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F5
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#CAA3B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce96f2;
/* rgb */ color: rgb(206, 150, 242);
/* oklch */ color: oklch(76.0% 0.140 311.3);
Tailwind
colors: {
  custom: {
    50: '#deb5f6',
    500: '#ce96f2',
    950: '#000000',
  },
}
SCSS
$custom: #ce96f2;
$custom-light: #deb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce96f2",
  "rgb": {
    "r": 206,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 276.522,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76002,
    "c": 0.1403,
    "h": 311.3
  },
  "luminance": 0.41345
}

Semantic roles & 50–950 ramp

primary
#CE96F2
secondary
#E2F3D8
accent
#DA0B5C
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CE96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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