#CE98DF#CE98DF

#CE98DF is a light, moderate purple. Relative luminance 0.409; OKLCH L 75.5% C 0.115 H 317.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CE98DF
RGBrgb(206, 152, 223)
HSLhsl(286, 53%, 74%)
HSVhsv(286, 32%, 87%)
CMYKcmyk(7.6%, 31.8%, 0%, 12.5%)
CIE-LABlab(70.11, 32.46, -28.21)
CIE-LCHlch(70.11, 43.00, 319.01°)
OKLaboklab(75.52% 0.0853 -0.077)
OKLCHoklch(75.52% 0.115 317.9)
XYZxyz(49.9992, 40.9072, 75.0597)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98DF #A9DF98
analogous
#AA98DF #CE98DF #DF98CC
triadic
#CE98DF #DFCE98 #98DFCE
tetradic
#CE98DF #DFAA98 #A9DF98 #98CCDF
square
#CE98DF #DFAA98 #A9DF98 #98CCDF
split-complementary
#CE98DF #CCDF98 #98DFAA
monochromatic
#A13CC1 #B869D0 #CE98DF #E4C7EE #F4E8F8

Accessibility & contrast

On white

2.29
#CE98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CE98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98DF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98DF#FFFFFF#000000##000000
##CE98DF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#9BADDD
Tritanopia (blue-blind)
#CEA0B2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ce98df;
/* rgb */ color: rgb(206, 152, 223);
/* oklch */ color: oklch(75.5% 0.115 317.9);
Tailwind
colors: {
  custom: {
    50: '#deb7e9',
    500: '#ce98df',
    950: '#000000',
  },
}
SCSS
$custom: #ce98df;
$custom-light: #deb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98df",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 285.634,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75521,
    "c": 0.11495,
    "h": 317.9
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#CE98DF
secondary
#E1EFDC
accent
#C0254A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CE98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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