#CD98E7#CD98E7

#CD98E7 is a light, vivid purple. Relative luminance 0.412; OKLCH L 75.8% C 0.124 H 314.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CD98E7
RGBrgb(205, 152, 231)
HSLhsl(280, 62%, 75%)
HSVhsv(280, 34%, 91%)
CMYKcmyk(11.3%, 34.2%, 0%, 9.4%)
CIE-LABlab(70.32, 33.77, -32.29)
CIE-LCHlch(70.32, 46.72, 316.28°)
OKLaboklab(75.76% 0.0862 -0.0887)
OKLCHoklch(75.76% 0.124 314.2)
XYZxyz(50.8266, 41.2061, 80.8619)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98E7 #B2E798
analogous
#A598E7 #CD98E7 #E798DA
triadic
#CD98E7 #E7CD98 #98E7CD
tetradic
#CD98E7 #E7A598 #B2E798 #98DAE7
square
#CD98E7 #E7A598 #B2E798 #98DAE7
split-complementary
#CD98E7 #DAE798 #98E7A5
monochromatic
#9D35D0 #B566DB #CD98E7 #E5CAF3 #F3E6F9

Accessibility & contrast

On white

2.27
#CD98E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CD98E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98E7
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98E7#FFFFFF#000000##000000
##CD98E71.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA9EA
Deuteranopia (green-blind)
#98ADE5
Tritanopia (blue-blind)
#CBA2B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd98e7;
/* rgb */ color: rgb(205, 152, 231);
/* oklch */ color: oklch(75.8% 0.124 314.2);
Tailwind
colors: {
  custom: {
    50: '#ddb7ef',
    500: '#cd98e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd98e7;
$custom-light: #ddb7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98e7",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 280.253,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75759,
    "c": 0.12361,
    "h": 314.2
  },
  "luminance": 0.41205
}

Semantic roles & 50–950 ramp

primary
#CD98E7
secondary
#E2F1DA
accent
#CA1C55
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD98E7

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

Preview Lab → · Contrast checker → · Palette generator →

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