#CD98CF#CD98CF

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

Color values

HEX#CD98CF
RGBrgb(205, 152, 207)
HSLhsl(298, 36%, 70%)
HSVhsv(298, 27%, 81%)
CMYKcmyk(1%, 26.6%, 0%, 18.8%)
CIE-LABlab(69.43, 29.02, -20.43)
CIE-LCHlch(69.43, 35.49, 324.85°)
OKLaboklab(74.79% 0.0797 -0.0552)
OKLCHoklch(74.79% 0.097 325.3)
XYZxyz(47.6664, 39.9420, 64.2180)
Luminance0.3994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98CF #9ACF98
analogous
#B198CF #CD98CF #CF98B5
triadic
#CD98CF #CFCD98 #98CFCD
tetradic
#CD98CF #CFB198 #9ACF98 #98B5CF
square
#CD98CF #CFB198 #9ACF98 #98B5CF
split-complementary
#CD98CF #B5CF98 #98CFB1
monochromatic
#9E4BA1 #B96EBC #CD98CF #E1C2E2 #F5EAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD98CF#FFFFFF#000000##000000
##CD98CF1.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)
#94A5D1
Deuteranopia (green-blind)
#A0ACCD
Tritanopia (blue-blind)
#D09DAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd98cf;
/* rgb */ color: rgb(205, 152, 207);
/* oklch */ color: oklch(74.8% 0.097 325.3);
Tailwind
colors: {
  custom: {
    50: '#ddb7dd',
    500: '#cd98cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd98cf;
$custom-light: #ddb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98cf",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 297.818,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74785,
    "c": 0.09699,
    "h": 325.3
  },
  "luminance": 0.39941
}

Semantic roles & 50–950 ramp

primary
#CD98CF
secondary
#DAE9DA
accent
#AF363B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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