#CE95FE#CE95FE

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

Color values

HEX#CE95FE
RGBrgb(206, 149, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 41%, 100%)
CMYKcmyk(18.9%, 41.3%, 0%, 0.4%)
CIE-LABlab(70.71, 40.57, -44.22)
CIE-LCHlch(70.71, 60.01, 312.53°)
OKLaboklab(76.4% 0.0963 -0.1228)
OKLCHoklch(76.4% 0.156 308.1)
XYZxyz(54.0870, 41.7730, 98.9604)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE95FE #C5FE95
analogous
#9A95FE #CE95FE #FE95FA
triadic
#CE95FE #FECE95 #95FECE
tetradic
#CE95FE #FE9A95 #C5FE95 #95FAFE
square
#CE95FE #FE9A95 #C5FE95 #95FAFE
split-complementary
#CE95FE #FAFE95 #95FE9A
monochromatic
#961CFD #B258FD #CE95FE #EAD2FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.35
#CE95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE95FE
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE95FE#FFFFFF#000000##000000
##CE95FE1.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#8BAEFB
Tritanopia (blue-blind)
#C8A5BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce95fe;
/* rgb */ color: rgb(206, 149, 254);
/* oklch */ color: oklch(76.4% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#deb5ff',
    500: '#ce95fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce95fe;
$custom-light: #deb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce95fe",
  "rgb": {
    "r": 206,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 272.571,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76396,
    "c": 0.15611,
    "h": 308.1
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#CE95FE
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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