#CD97E8#CD97E8

#CD97E8 is a light, vivid purple. Relative luminance 0.409; OKLCH L 75.6% C 0.126 H 314.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CD97E8
RGBrgb(205, 151, 232)
HSLhsl(280, 64%, 75%)
HSVhsv(280, 35%, 91%)
CMYKcmyk(11.6%, 34.9%, 0%, 9%)
CIE-LABlab(70.13, 34.52, -33.13)
CIE-LCHlch(70.13, 47.84, 316.18°)
OKLaboklab(75.63% 0.0878 -0.091)
OKLCHoklch(75.63% 0.126 314)
XYZxyz(50.8066, 40.9395, 81.5540)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97E8 #B2E897
analogous
#A497E8 #CD97E8 #E897DB
triadic
#CD97E8 #E8CD97 #97E8CD
tetradic
#CD97E8 #E8A497 #B2E897 #97DBE8
square
#CD97E8 #E8A497 #B2E897 #97DBE8
split-complementary
#CD97E8 #DBE897 #97E8A4
monochromatic
#9D33D2 #B565DD #CD97E8 #E5C9F3 #F3E6F9

Accessibility & contrast

On white

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

On black

9.19
#CD97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97E8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97E8#FFFFFF#000000##000000
##CD97E81.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA8EB
Deuteranopia (green-blind)
#96ADE6
Tritanopia (blue-blind)
#CBA2B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd97e8;
/* rgb */ color: rgb(205, 151, 232);
/* oklch */ color: oklch(75.6% 0.126 314.0);
Tailwind
colors: {
  custom: {
    50: '#ddb6ef',
    500: '#cd97e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd97e8;
$custom-light: #ddb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97e8",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 280,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7563,
    "c": 0.12649,
    "h": 314
  },
  "luminance": 0.40939
}

Semantic roles & 50–950 ramp

primary
#CD97E8
secondary
#E2F1DA
accent
#CC1A55
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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