#CE98DB#CE98DB

#CE98DB is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.4% C 0.110 H 319.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CE98DB
RGBrgb(206, 152, 219)
HSLhsl(288, 48%, 73%)
HSVhsv(288, 31%, 86%)
CMYKcmyk(5.9%, 30.6%, 0%, 14.1%)
CIE-LABlab(69.96, 31.66, -26.24)
CIE-LCHlch(69.96, 41.12, 320.35°)
OKLaboklab(75.36% 0.0843 -0.0715)
OKLCHoklch(75.36% 0.11 319.7)
XYZxyz(49.4663, 40.6940, 72.2530)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98DB #A5DB98
analogous
#AC98DB #CE98DB #DB98C6
triadic
#CE98DB #DBCE98 #98DBCE
tetradic
#CE98DB #DBAC98 #A5DB98 #98C6DB
square
#CE98DB #DBAC98 #A5DB98 #98C6DB
split-complementary
#CE98DB #C6DB98 #98DBAC
monochromatic
#A140B8 #B86BCB #CE98DB #E4C5EB #F4E8F7

Accessibility & contrast

On white

2.30
#CE98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CE98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98DB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98DB#FFFFFF#000000##000000
##CE98DB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#9DADD9
Tritanopia (blue-blind)
#CF9FB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce98db;
/* rgb */ color: rgb(206, 152, 219);
/* oklch */ color: oklch(75.4% 0.110 319.7);
Tailwind
colors: {
  custom: {
    50: '#ddb7e6',
    500: '#ce98db',
    950: '#000000',
  },
}
SCSS
$custom: #ce98db;
$custom-light: #ddb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98db",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 288.358,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75357,
    "c": 0.11049,
    "h": 319.7
  },
  "luminance": 0.40693
}

Semantic roles & 50–950 ramp

primary
#CE98DB
secondary
#E0EEDD
accent
#BB2A46
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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