#CE98CD#CE98CD

#CE98CD is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.8% C 0.096 H 327.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CE98CD
RGBrgb(206, 152, 205)
HSLhsl(301, 36%, 70%)
HSVhsv(301, 26%, 81%)
CMYKcmyk(0%, 26.2%, 0.5%, 19.2%)
CIE-LABlab(69.46, 28.98, -19.27)
CIE-LCHlch(69.46, 34.80, 326.38°)
OKLaboklab(74.81% 0.0803 -0.052)
OKLCHoklch(74.81% 0.096 327.1)
XYZxyz(47.7002, 39.9875, 62.9514)
Luminance0.3999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98CD #98CE99
analogous
#B498CE #CE98CD #CE98B2
triadic
#CE98CD #CDCE98 #98CDCE
tetradic
#CE98CD #CEB498 #98CE99 #98B2CE
square
#CE98CD #CEB498 #98CE99 #98B2CE
split-complementary
#CE98CD #B2CE98 #98CEB4
monochromatic
#A04C9E #BA6FB9 #CE98CD #E2C1E1 #F5EAF5

Accessibility & contrast

On white

2.33
#CE98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CE98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98CD
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98CD#FFFFFF#000000##000000
##CE98CD1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CF
Deuteranopia (green-blind)
#A1ACCB
Tritanopia (blue-blind)
#D29CAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ce98cd;
/* rgb */ color: rgb(206, 152, 205);
/* oklch */ color: oklch(74.8% 0.096 327.1);
Tailwind
colors: {
  custom: {
    50: '#ddb7dc',
    500: '#ce98cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce98cd;
$custom-light: #ddb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98cd",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 301.111,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7481,
    "c": 0.09562,
    "h": 327.1
  },
  "luminance": 0.39986
}

Semantic roles & 50–950 ramp

primary
#CE98CD
secondary
#D9E8DA
accent
#AE3937
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CE98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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