#CF97DB#CF97DB

#CF97DB is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.3% C 0.113 H 320.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CF97DB
RGBrgb(207, 151, 219)
HSLhsl(289, 49%, 73%)
HSVhsv(289, 31%, 86%)
CMYKcmyk(5.5%, 31.1%, 0%, 14.1%)
CIE-LABlab(69.83, 32.53, -26.42)
CIE-LCHlch(69.83, 41.91, 320.91°)
OKLaboklab(75.28% 0.0869 -0.072)
OKLCHoklch(75.28% 0.113 320.4)
XYZxyz(49.5833, 40.5144, 72.2122)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97DB #A3DB97
analogous
#AD97DB #CF97DB #DB97C5
triadic
#CF97DB #DBCF97 #97DBCF
tetradic
#CF97DB #DBAD97 #A3DB97 #97C5DB
square
#CF97DB #DBAD97 #A3DB97 #97C5DB
split-complementary
#CF97DB #C5DB97 #97DBAD
monochromatic
#A340B8 #BA6ACB #CF97DB #E4C4EB #F5E8F7

Accessibility & contrast

On white

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

On black

9.10
#CF97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97DB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97DB#FFFFFF#000000##000000
##CF97DB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DE
Deuteranopia (green-blind)
#9CADD9
Tritanopia (blue-blind)
#D09EB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf97db;
/* rgb */ color: rgb(207, 151, 219);
/* oklch */ color: oklch(75.3% 0.113 320.4);
Tailwind
colors: {
  custom: {
    50: '#deb6e6',
    500: '#cf97db',
    950: '#000000',
  },
}
SCSS
$custom: #cf97db;
$custom-light: #deb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97db",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 289.412,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.11282,
    "h": 320.4
  },
  "luminance": 0.40513
}

Semantic roles & 50–950 ramp

primary
#CF97DB
secondary
#E0EEDD
accent
#BC2A43
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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