#CE91FE#CE91FE

#CE91FE is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.7% C 0.163 H 308.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CE91FE
RGBrgb(206, 145, 254)
HSLhsl(274, 98%, 78%)
HSVhsv(274, 43%, 100%)
CMYKcmyk(18.9%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.84, 42.72, -45.59)
CIE-LCHlch(69.84, 62.48, 313.14°)
OKLaboklab(75.74% 0.1018 -0.1268)
OKLCHoklch(75.74% 0.163 308.8)
XYZxyz(53.4650, 40.5290, 98.7530)
Luminance0.4053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE91FE #C1FE91
analogous
#9791FE #CE91FE #FE91F7
triadic
#CE91FE #FECE91 #91FECE
tetradic
#CE91FE #FE9791 #C1FE91 #91F7FE
square
#CE91FE #FE9791 #C1FE91 #91F7FE
split-complementary
#CE91FE #F7FE91 #91FE97
monochromatic
#9818FD #B354FD #CE91FE #E9CEFF #F1E1FF

Accessibility & contrast

On white

2.31
#CE91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CE91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE91FE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE91FE#FFFFFF#000000##000000
##CE91FE1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C8A2BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce91fe;
/* rgb */ color: rgb(206, 145, 254);
/* oklch */ color: oklch(75.7% 0.163 308.8);
Tailwind
colors: {
  custom: {
    50: '#dfb2ff',
    500: '#ce91fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce91fe;
$custom-light: #dfb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce91fe",
  "rgb": {
    "r": 206,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 273.578,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75742,
    "c": 0.16261,
    "h": 308.8
  },
  "luminance": 0.40528
}

Semantic roles & 50–950 ramp

primary
#CE91FE
secondary
#E3F7D4
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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