#CE98EE#CE98EE

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

Color values

HEX#CE98EE
RGBrgb(206, 152, 238)
HSLhsl(278, 72%, 76%)
HSVhsv(278, 36%, 93%)
CMYKcmyk(13.4%, 36.1%, 0%, 6.7%)
CIE-LABlab(70.70, 35.53, -35.53)
CIE-LCHlch(70.70, 50.24, 315.00°)
OKLaboklab(76.16% 0.0889 -0.0979)
OKLCHoklch(76.16% 0.132 312.3)
XYZxyz(52.1118, 41.7522, 86.1861)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98EE #B8EE98
analogous
#A398EE #CE98EE #EE98E3
triadic
#CE98EE #EECE98 #98EECE
tetradic
#CE98EE #EEA398 #B8EE98 #98E3EE
square
#CE98EE #EEA398 #B8EE98 #98E3EE
split-complementary
#CE98EE #E3EE98 #98EEA3
monochromatic
#9C2FDD #B563E5 #CE98EE #E7CDF7 #F3E5FB

Accessibility & contrast

On white

2.25
#CE98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE98EE#FFFFFF#000000##000000
##CE98EE1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#95AEEB
Tritanopia (blue-blind)
#CBA4B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce98ee;
/* rgb */ color: rgb(206, 152, 238);
/* oklch */ color: oklch(76.2% 0.132 312.3);
Tailwind
colors: {
  custom: {
    50: '#deb7f4',
    500: '#ce98ee',
    950: '#000000',
  },
}
SCSS
$custom: #ce98ee;
$custom-light: #deb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98ee",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 277.674,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76162,
    "c": 0.13222,
    "h": 312.3
  },
  "luminance": 0.41751
}

Semantic roles & 50–950 ramp

primary
#CE98EE
secondary
#E2F2D9
accent
#D4125A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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