#CE98CC#CE98CC

#CE98CC is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.8% C 0.095 H 327.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CE98CC
RGBrgb(206, 152, 204)
HSLhsl(302, 36%, 70%)
HSVhsv(302, 26%, 81%)
CMYKcmyk(0%, 26.2%, 1%, 19.2%)
CIE-LABlab(69.43, 28.79, -18.77)
CIE-LCHlch(69.43, 34.37, 326.90°)
OKLaboklab(74.77% 0.08 -0.0506)
OKLCHoklch(74.77% 0.095 327.7)
XYZxyz(47.5799, 39.9394, 62.3178)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98CC #98CE9A
analogous
#B598CE #CE98CC #CE98B1
triadic
#CE98CC #CCCE98 #98CCCE
tetradic
#CE98CC #CEB598 #98CE9A #98B1CE
square
#CE98CC #CEB598 #98CE9A #98B1CE
split-complementary
#CE98CC #B1CE98 #98CEB5
monochromatic
#A04C9D #BA6FB7 #CE98CC #E2C1E1 #F5EAF5

Accessibility & contrast

On white

2.34
#CE98CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#CE98CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98CC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98CC#FFFFFF#000000##000000
##CE98CC1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CE
Deuteranopia (green-blind)
#A2ACCA
Tritanopia (blue-blind)
#D29CAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce98cc;
/* rgb */ color: rgb(206, 152, 204);
/* oklch */ color: oklch(74.8% 0.095 327.7);
Tailwind
colors: {
  custom: {
    50: '#ddb7db',
    500: '#ce98cc',
    950: '#000000',
  },
}
SCSS
$custom: #ce98cc;
$custom-light: #ddb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98cc",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 302.222,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74773,
    "c": 0.09461,
    "h": 327.7
  },
  "luminance": 0.39938
}

Semantic roles & 50–950 ramp

primary
#CE98CC
secondary
#D9E8DA
accent
#AE3C37
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CE98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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