#CF97D2#CF97D2

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

Color values

HEX#CF97D2
RGBrgb(207, 151, 210)
HSLhsl(297, 40%, 71%)
HSVhsv(297, 28%, 82%)
CMYKcmyk(1.4%, 28.1%, 0%, 17.6%)
CIE-LABlab(69.51, 30.79, -21.95)
CIE-LCHlch(69.51, 37.82, 324.51°)
OKLaboklab(74.93% 0.0844 -0.0594)
OKLCHoklch(74.93% 0.103 324.8)
XYZxyz(48.4303, 40.0532, 66.1401)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97D2 #9AD297
analogous
#B197D2 #CF97D2 #D297B7
triadic
#CF97D2 #D2CF97 #97D2CF
tetradic
#CF97D2 #D2B197 #9AD297 #97B7D2
square
#CF97D2 #D2B197 #9AD297 #97B7D2
split-complementary
#CF97D2 #B7D297 #97D2B1
monochromatic
#A248A7 #BB6CC0 #CF97D2 #E3C2E4 #F5EAF6

Accessibility & contrast

On white

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

On black

9.01
#CF97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97D2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97D2#FFFFFF#000000##000000
##CF97D21.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#9FACD0
Tritanopia (blue-blind)
#D29CAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf97d2;
/* rgb */ color: rgb(207, 151, 210);
/* oklch */ color: oklch(74.9% 0.103 324.8);
Tailwind
colors: {
  custom: {
    50: '#deb6e0',
    500: '#cf97d2',
    950: '#000000',
  },
}
SCSS
$custom: #cf97d2;
$custom-light: #deb6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97d2",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 296.949,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.10322,
    "h": 324.8
  },
  "luminance": 0.40052
}

Semantic roles & 50–950 ramp

primary
#CF97D2
secondary
#DBEADA
accent
#B33339
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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