#CE98EF#CE98EF

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

Color values

HEX#CE98EF
RGBrgb(206, 152, 239)
HSLhsl(277, 73%, 77%)
HSVhsv(277, 36%, 94%)
CMYKcmyk(13.8%, 36.4%, 0%, 6.3%)
CIE-LABlab(70.74, 35.74, -36.01)
CIE-LCHlch(70.74, 50.73, 314.78°)
OKLaboklab(76.21% 0.0891 -0.0992)
OKLCHoklch(76.21% 0.133 311.9)
XYZxyz(52.2592, 41.8111, 86.9620)
Luminance0.4181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98EF #B9EF98
analogous
#A398EF #CE98EF #EF98E5
triadic
#CE98EF #EFCE98 #98EFCE
tetradic
#CE98EF #EFA398 #B9EF98 #98E5EF
square
#CE98EF #EFA398 #B9EF98 #98E5EF
split-complementary
#CE98EF #E5EF98 #98EFA3
monochromatic
#9C2EDF #B563E7 #CE98EF #E7CDF7 #F2E5FB

Accessibility & contrast

On white

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

On black

9.36
#CE98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98EF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98EF#FFFFFF#000000##000000
##CE98EF1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#CBA4B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce98ef;
/* rgb */ color: rgb(206, 152, 239);
/* oklch */ color: oklch(76.2% 0.133 311.9);
Tailwind
colors: {
  custom: {
    50: '#deb7f4',
    500: '#ce98ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce98ef;
$custom-light: #deb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98ef",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 277.241,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76206,
    "c": 0.1334,
    "h": 311.9
  },
  "luminance": 0.4181
}

Semantic roles & 50–950 ramp

primary
#CE98EF
secondary
#E2F3D8
accent
#D5105B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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