#CF97EE#CF97EE

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

Color values

HEX#CF97EE
RGBrgb(207, 151, 238)
HSLhsl(279, 72%, 76%)
HSVhsv(279, 37%, 93%)
CMYKcmyk(13%, 36.6%, 0%, 6.7%)
CIE-LABlab(70.58, 36.37, -35.71)
CIE-LCHlch(70.58, 50.97, 315.52°)
OKLaboklab(76.09% 0.0915 -0.0984)
OKLCHoklch(76.09% 0.134 312.9)
XYZxyz(52.2288, 41.5726, 86.1453)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF97EE #B6EE97
analogous
#A497EE #CF97EE #EE97E2
triadic
#CF97EE #EECF97 #97EECF
tetradic
#CF97EE #EEA497 #B6EE97 #97E2EE
square
#CF97EE #EEA497 #B6EE97 #97E2EE
split-complementary
#CF97EE #E2EE97 #97EEA4
monochromatic
#9E2EDD #B762E5 #CF97EE #E7CCF7 #F3E5FB

Accessibility & contrast

On white

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

On black

9.31
#CF97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF97EE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF97EE#FFFFFF#000000##000000
##CF97EE1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF1
Deuteranopia (green-blind)
#95AEEB
Tritanopia (blue-blind)
#CCA3B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf97ee;
/* rgb */ color: rgb(207, 151, 238);
/* oklch */ color: oklch(76.1% 0.134 312.9);
Tailwind
colors: {
  custom: {
    50: '#dfb6f4',
    500: '#cf97ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf97ee;
$custom-light: #dfb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf97ee",
  "rgb": {
    "r": 207,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 278.621,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7609,
    "c": 0.13435,
    "h": 312.9
  },
  "luminance": 0.41572
}

Semantic roles & 50–950 ramp

primary
#CF97EE
secondary
#E2F2D9
accent
#D41257
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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