#CE95EF#CE95EF

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

Color values

HEX#CE95EF
RGBrgb(206, 149, 239)
HSLhsl(278, 74%, 76%)
HSVhsv(278, 38%, 94%)
CMYKcmyk(13.8%, 37.7%, 0%, 6.3%)
CIE-LABlab(70.07, 37.36, -37.05)
CIE-LCHlch(70.07, 52.62, 315.24°)
OKLaboklab(75.7% 0.0934 -0.1022)
OKLCHoklch(75.7% 0.138 312.4)
XYZxyz(51.7784, 40.8496, 86.8017)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE95EF #B6EF95
analogous
#A195EF #CE95EF #EF95E3
triadic
#CE95EF #EFCE95 #95EFCE
tetradic
#CE95EF #EFA195 #B6EF95 #95E3EF
square
#CE95EF #EFA195 #B6EF95 #95E3EF
split-complementary
#CE95EF #E3EF95 #95EFA1
monochromatic
#9D2BDF #B560E7 #CE95EF #E7CAF7 #F3E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE95EF#FFFFFF#000000##000000
##CE95EF1.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)
#85A8F2
Deuteranopia (green-blind)
#92ADEC
Tritanopia (blue-blind)
#CBA1B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce95ef;
/* rgb */ color: rgb(206, 149, 239);
/* oklch */ color: oklch(75.7% 0.138 312.4);
Tailwind
colors: {
  custom: {
    50: '#deb5f4',
    500: '#ce95ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce95ef;
$custom-light: #deb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce95ef",
  "rgb": {
    "r": 206,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 278,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75699,
    "c": 0.13847,
    "h": 312.4
  },
  "luminance": 0.40849
}

Semantic roles & 50–950 ramp

primary
#CE95EF
secondary
#E2F3D8
accent
#D61058
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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