#CD98D3#CD98D3

#CD98D3 is a light, moderate purple. Relative luminance 0.401; OKLCH L 74.9% C 0.101 H 323.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CD98D3
RGBrgb(205, 152, 211)
HSLhsl(294, 40%, 71%)
HSVhsv(294, 28%, 83%)
CMYKcmyk(2.8%, 28%, 0%, 17.3%)
CIE-LABlab(69.57, 29.79, -22.43)
CIE-LCHlch(69.57, 37.29, 323.02°)
OKLaboklab(74.94% 0.0809 -0.0608)
OKLCHoklch(74.94% 0.101 323.1)
XYZxyz(48.1616, 40.1401, 66.8262)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD98D3 #9ED398
analogous
#AF98D3 #CD98D3 #D398BB
triadic
#CD98D3 #D3CD98 #98D3CD
tetradic
#CD98D3 #D3AF98 #9ED398 #98BBD3
square
#CD98D3 #D3AF98 #9ED398 #98BBD3
split-complementary
#CD98D3 #BBD398 #98D3AF
monochromatic
#9F48A9 #B86DC1 #CD98D3 #E2C3E5 #F5EAF6

Accessibility & contrast

On white

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

On black

9.03
#CD98D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD98D3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD98D3#FFFFFF#000000##000000
##CD98D31.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D5
Deuteranopia (green-blind)
#9FACD1
Tritanopia (blue-blind)
#CF9EAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd98d3;
/* rgb */ color: rgb(205, 152, 211);
/* oklch */ color: oklch(74.9% 0.101 323.1);
Tailwind
colors: {
  custom: {
    50: '#ddb7e0',
    500: '#cd98d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd98d3;
$custom-light: #ddb7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd98d3",
  "rgb": {
    "r": 205,
    "g": 152,
    "b": 211
  },
  "hsl": {
    "h": 293.898,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74939,
    "c": 0.10119,
    "h": 323.1
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#CD98D3
secondary
#DDEBDC
accent
#B3323F
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD98D3

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

Preview Lab → · Contrast checker → · Palette generator →

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