#CD97D4#CD97D4

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

Color values

HEX#CD97D4
RGBrgb(205, 151, 212)
HSLhsl(293, 41%, 71%)
HSVhsv(293, 29%, 83%)
CMYKcmyk(3.3%, 28.8%, 0%, 16.9%)
CIE-LABlab(69.37, 30.52, -23.28)
CIE-LCHlch(69.37, 38.39, 322.67°)
OKLaboklab(74.8% 0.0827 -0.0632)
OKLCHoklch(74.8% 0.104 322.6)
XYZxyz(48.1257, 39.8671, 67.4346)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97D4 #9ED497
analogous
#AE97D4 #CD97D4 #D497BC
triadic
#CD97D4 #D4CD97 #97D4CD
tetradic
#CD97D4 #D4AE97 #9ED497 #97BCD4
square
#CD97D4 #D4AE97 #9ED497 #97BCD4
split-complementary
#CD97D4 #BCD497 #97D4AE
monochromatic
#9F46AA #B86CC2 #CD97D4 #E2C2E6 #F5E9F6

Accessibility & contrast

On white

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

On black

8.97
#CD97D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97D4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97D4#FFFFFF#000000##000000
##CD97D41.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D6
Deuteranopia (green-blind)
#9EACD2
Tritanopia (blue-blind)
#CF9DAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd97d4;
/* rgb */ color: rgb(205, 151, 212);
/* oklch */ color: oklch(74.8% 0.104 322.6);
Tailwind
colors: {
  custom: {
    50: '#ddb6e1',
    500: '#cd97d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd97d4;
$custom-light: #ddb6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97d4",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 212
  },
  "hsl": {
    "h": 293.115,
    "s": 41.497,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74803,
    "c": 0.10405,
    "h": 322.6
  },
  "luminance": 0.39866
}

Semantic roles & 50–950 ramp

primary
#CD97D4
secondary
#DDEBDB
accent
#B53140
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD97D4

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

Preview Lab → · Contrast checker → · Palette generator →

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