#CE98EA#CE98EA

#CE98EA is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.128 H 313.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CE98EA
RGBrgb(206, 152, 234)
HSLhsl(280, 66%, 76%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(12%, 35%, 0%, 8.2%)
CIE-LABlab(70.54, 34.69, -33.59)
CIE-LCHlch(70.54, 48.29, 315.93°)
OKLaboklab(75.99% 0.088 -0.0923)
OKLCHoklch(75.99% 0.128 313.6)
XYZxyz(51.5307, 41.5197, 83.1255)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98EA #B4EA98
analogous
#A598EA #CE98EA #EA98DD
triadic
#CE98EA #EACE98 #98EACE
tetradic
#CE98EA #EAA598 #B4EA98 #98DDEA
square
#CE98EA #EAA598 #B4EA98 #98DDEA
split-complementary
#CE98EA #DDEA98 #98EAA5
monochromatic
#9E32D5 #B665E0 #CE98EA #E6CBF4 #F3E6FA

Accessibility & contrast

On white

2.26
#CE98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CE98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98EA
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98EA#FFFFFF#000000##000000
##CE98EA1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#CCA3B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce98ea;
/* rgb */ color: rgb(206, 152, 234);
/* oklch */ color: oklch(76.0% 0.128 313.6);
Tailwind
colors: {
  custom: {
    50: '#deb7f1',
    500: '#ce98ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce98ea;
$custom-light: #deb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98ea",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 279.512,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.12756,
    "h": 313.6
  },
  "luminance": 0.41519
}

Semantic roles & 50–950 ramp

primary
#CE98EA
secondary
#E2F1DA
accent
#CE1856
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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