#CE98DC#CE98DC

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

Color values

HEX#CE98DC
RGBrgb(206, 152, 220)
HSLhsl(288, 49%, 73%)
HSVhsv(288, 31%, 86%)
CMYKcmyk(6.4%, 30.9%, 0%, 13.7%)
CIE-LABlab(70.00, 31.86, -26.73)
CIE-LCHlch(70.00, 41.59, 320.00°)
OKLaboklab(75.4% 0.0845 -0.0729)
OKLCHoklch(75.4% 0.112 319.2)
XYZxyz(49.5984, 40.7468, 72.9484)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98DC #A6DC98
analogous
#AC98DC #CE98DC #DC98C8
triadic
#CE98DC #DCCE98 #98DCCE
tetradic
#CE98DC #DCAC98 #A6DC98 #98C8DC
square
#CE98DC #DCAC98 #A6DC98 #98C8DC
split-complementary
#CE98DC #C8DC98 #98DCAC
monochromatic
#A13FBA #B86ACC #CE98DC #E4C6EC #F4E8F7

Accessibility & contrast

On white

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

On black

9.15
#CE98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98DC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98DC#FFFFFF#000000##000000
##CE98DC1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DF
Deuteranopia (green-blind)
#9CADDA
Tritanopia (blue-blind)
#CFA0B1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce98dc;
/* rgb */ color: rgb(206, 152, 220);
/* oklch */ color: oklch(75.4% 0.112 319.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7e7',
    500: '#ce98dc',
    950: '#000000',
  },
}
SCSS
$custom: #ce98dc;
$custom-light: #ddb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98dc",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 287.647,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.1116,
    "h": 319.2
  },
  "luminance": 0.40746
}

Semantic roles & 50–950 ramp

primary
#CE98DC
secondary
#E0EEDD
accent
#BD2947
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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