#CF97DA#CF97DA

#CF97DA is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.2% C 0.112 H 320.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CF97DA
RGBrgb(207, 151, 218)
HSLhsl(290, 48%, 72%)
HSVhsv(290, 31%, 85%)
CMYKcmyk(5%, 30.7%, 0%, 14.5%)
CIE-LABlab(69.80, 32.33, -25.93)
CIE-LCHlch(69.80, 41.44, 321.27°)
OKLaboklab(75.24% 0.0866 -0.0706)
OKLCHoklch(75.24% 0.112 320.8)
XYZxyz(49.4520, 40.4619, 71.5210)
Luminance0.4046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97DA #A2DA97
analogous
#AD97DA #CF97DA #DA97C4
triadic
#CF97DA #DACF97 #97DACF
tetradic
#CF97DA #DAAD97 #A2DA97 #97C4DA
square
#CF97DA #DAAD97 #A2DA97 #97C4DA
split-complementary
#CF97DA #C4DA97 #97DAAD
monochromatic
#A341B6 #BA6ACA #CF97DA #E4C4EA #F5E8F7

Accessibility & contrast

On white

2.31
#CF97DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CF97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97DA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97DA#FFFFFF#000000##000000
##CF97DA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DD
Deuteranopia (green-blind)
#9DADD8
Tritanopia (blue-blind)
#D19EAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf97da;
/* rgb */ color: rgb(207, 151, 218);
/* oklch */ color: oklch(75.2% 0.112 320.8);
Tailwind
colors: {
  custom: {
    50: '#deb6e5',
    500: '#cf97da',
    950: '#000000',
  },
}
SCSS
$custom: #cf97da;
$custom-light: #deb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97da",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 290.149,
    "s": 47.518,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75243,
    "c": 0.11173,
    "h": 320.8
  },
  "luminance": 0.40461
}

Semantic roles & 50–950 ramp

primary
#CF97DA
secondary
#E0EEDD
accent
#BB2B42
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CF97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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