#CD97E6#CD97E6

#CD97E6 is a light, vivid purple. Relative luminance 0.408; OKLCH L 75.5% C 0.124 H 314.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CD97E6
RGBrgb(205, 151, 230)
HSLhsl(281, 61%, 75%)
HSVhsv(281, 34%, 90%)
CMYKcmyk(10.9%, 34.3%, 0%, 9.8%)
CIE-LABlab(70.05, 34.11, -32.15)
CIE-LCHlch(70.05, 46.87, 316.69°)
OKLaboklab(75.54% 0.0874 -0.0882)
OKLCHoklch(75.54% 0.124 314.7)
XYZxyz(50.5241, 40.8265, 80.0663)
Luminance0.4083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97E6 #B0E697
analogous
#A697E6 #CD97E6 #E697D7
triadic
#CD97E6 #E6CD97 #97E6CD
tetradic
#CD97E6 #E6A697 #B0E697 #97D7E6
square
#CD97E6 #E6A697 #B0E697 #97D7E6
split-complementary
#CD97E6 #D7E697 #97E6A6
monochromatic
#9E34CE #B566DA #CD97E6 #E5C8F2 #F3E6F9

Accessibility & contrast

On white

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

On black

9.17
#CD97E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97E6
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97E6#FFFFFF#000000##000000
##CD97E61.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA8E9
Deuteranopia (green-blind)
#97ADE4
Tritanopia (blue-blind)
#CCA1B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd97e6;
/* rgb */ color: rgb(205, 151, 230);
/* oklch */ color: oklch(75.5% 0.124 314.7);
Tailwind
colors: {
  custom: {
    50: '#ddb6ee',
    500: '#cd97e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd97e6;
$custom-light: #ddb6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97e6",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 230
  },
  "hsl": {
    "h": 281.013,
    "s": 61.24,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75544,
    "c": 0.12418,
    "h": 314.7
  },
  "luminance": 0.40826
}

Semantic roles & 50–950 ramp

primary
#CD97E6
secondary
#E1F0DB
accent
#C91D53
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD97E6

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

Preview Lab → · Contrast checker → · Palette generator →

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