#CF97EA#CF97EA

#CF97EA is a light, vivid purple. Relative luminance 0.413; OKLCH L 75.9% C 0.130 H 314.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CF97EA
RGBrgb(207, 151, 234)
HSLhsl(280, 66%, 75%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(11.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(70.41, 35.54, -33.77)
CIE-LCHlch(70.41, 49.03, 316.46°)
OKLaboklab(75.91% 0.0906 -0.0928)
OKLCHoklch(75.91% 0.13 314.3)
XYZxyz(51.6477, 41.3401, 83.0846)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97EA #B2EA97
analogous
#A597EA #CF97EA #EA97DB
triadic
#CF97EA #EACF97 #97EACF
tetradic
#CF97EA #EAA597 #B2EA97 #97DBEA
square
#CF97EA #EAA597 #B2EA97 #97DBEA
split-complementary
#CF97EA #DBEA97 #97EAA5
monochromatic
#A031D5 #B764E0 #CF97EA #E7CAF4 #F3E6FA

Accessibility & contrast

On white

2.27
#CF97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CF97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97EA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97EA#FFFFFF#000000##000000
##CF97EA1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#CDA2B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cf97ea;
/* rgb */ color: rgb(207, 151, 234);
/* oklch */ color: oklch(75.9% 0.130 314.3);
Tailwind
colors: {
  custom: {
    50: '#dfb6f1',
    500: '#cf97ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ea;
$custom-light: #dfb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ea",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 280.482,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75914,
    "c": 0.12971,
    "h": 314.3
  },
  "luminance": 0.41339
}

Semantic roles & 50–950 ramp

primary
#CF97EA
secondary
#E1F1DA
accent
#CE1753
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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