#CD97F3#CD97F3

#CD97F3 is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.1% C 0.139 H 310.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CD97F3
RGBrgb(205, 151, 243)
HSLhsl(275, 79%, 77%)
HSVhsv(275, 38%, 95%)
CMYKcmyk(15.6%, 37.9%, 0%, 4.7%)
CIE-LABlab(70.58, 36.83, -38.44)
CIE-LCHlch(70.58, 53.24, 313.77°)
OKLaboklab(76.12% 0.0903 -0.1062)
OKLCHoklch(76.12% 0.139 310.4)
XYZxyz(52.4182, 41.5841, 90.0418)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97F3 #BDF397
analogous
#9F97F3 #CD97F3 #F397EB
triadic
#CD97F3 #F3CD97 #97F3CD
tetradic
#CD97F3 #F39F97 #BDF397 #97EBF3
square
#CD97F3 #F39F97 #BDF397 #97EBF3
split-complementary
#CD97F3 #EBF397 #97F39F
monochromatic
#9829E6 #B360ED #CD97F3 #E7CEF9 #F2E4FC

Accessibility & contrast

On white

2.25
#CD97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CD97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97F3
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97F3#FFFFFF#000000##000000
##CD97F31.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#92AEF0
Tritanopia (blue-blind)
#C9A4BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd97f3;
/* rgb */ color: rgb(205, 151, 243);
/* oklch */ color: oklch(76.1% 0.139 310.4);
Tailwind
colors: {
  custom: {
    50: '#ddb6f7',
    500: '#cd97f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd97f3;
$custom-light: #ddb6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97f3",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 275.217,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.13941,
    "h": 310.4
  },
  "luminance": 0.41583
}

Semantic roles & 50–950 ramp

primary
#CD97F3
secondary
#E3F4D7
accent
#DC0A61
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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