#CE98EB#CE98EB

#CE98EB is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.129 H 313.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CE98EB
RGBrgb(206, 152, 235)
HSLhsl(279, 67%, 76%)
HSVhsv(279, 35%, 92%)
CMYKcmyk(12.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(70.58, 34.90, -34.07)
CIE-LCHlch(70.58, 48.77, 315.69°)
OKLaboklab(76.03% 0.0882 -0.0937)
OKLCHoklch(76.03% 0.129 313.3)
XYZxyz(51.6748, 41.5774, 83.8842)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98EB #B5EB98
analogous
#A498EB #CE98EB #EB98DE
triadic
#CE98EB #EBCE98 #98EBCE
tetradic
#CE98EB #EBA498 #B5EB98 #98DEEB
square
#CE98EB #EBA498 #B5EB98 #98DEEB
split-complementary
#CE98EB #DEEB98 #98EBA4
monochromatic
#9D32D7 #B665E1 #CE98EB #E6CBF5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.32
#CE98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98EB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98EB#FFFFFF#000000##000000
##CE98EB1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#CCA3B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce98eb;
/* rgb */ color: rgb(206, 152, 235);
/* oklch */ color: oklch(76.0% 0.129 313.3);
Tailwind
colors: {
  custom: {
    50: '#deb7f1',
    500: '#ce98eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce98eb;
$custom-light: #deb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98eb",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 279.036,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7603,
    "c": 0.12872,
    "h": 313.3
  },
  "luminance": 0.41576
}

Semantic roles & 50–950 ramp

primary
#CE98EB
secondary
#E2F2D9
accent
#CF1657
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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