#CF92E2#CF92E2

#CF92E2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.7% C 0.129 H 317.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CF92E2
RGBrgb(207, 146, 226)
HSLhsl(286, 58%, 73%)
HSVhsv(286, 35%, 89%)
CMYKcmyk(8.4%, 35.4%, 0%, 11.4%)
CIE-LABlab(68.98, 36.63, -31.60)
CIE-LCHlch(68.98, 48.37, 319.22°)
OKLaboklab(74.72% 0.096 -0.0866)
OKLCHoklch(74.72% 0.129 317.9)
XYZxyz(49.7366, 39.3154, 76.9054)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF92E2 #A5E292
analogous
#A792E2 #CF92E2 #E292CD
triadic
#CF92E2 #E2CF92 #92E2CF
tetradic
#CF92E2 #E2A792 #A5E292 #92CDE2
square
#CF92E2 #E2A792 #A5E292 #92CDE2
split-complementary
#CF92E2 #CDE292 #92E2A7
monochromatic
#A334C5 #BA62D5 #CF92E2 #E4C2EF #F4E7F9

Accessibility & contrast

On white

2.37
#CF92E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CF92E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF92E2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF92E2#FFFFFF#000000##000000
##CF92E21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E5
Deuteranopia (green-blind)
#96AAE0
Tritanopia (blue-blind)
#CF9CB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf92e2;
/* rgb */ color: rgb(207, 146, 226);
/* oklch */ color: oklch(74.7% 0.129 317.9);
Tailwind
colors: {
  custom: {
    50: '#dfb3eb',
    500: '#cf92e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf92e2;
$custom-light: #dfb3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf92e2",
  "rgb": {
    "r": 207,
    "g": 146,
    "b": 226
  },
  "hsl": {
    "h": 285.75,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74723,
    "c": 0.12929,
    "h": 317.9
  },
  "luminance": 0.39314
}

Semantic roles & 50–950 ramp

primary
#CF92E2
secondary
#E0F0DB
accent
#C62047
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF92E2

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

Preview Lab → · Contrast checker → · Palette generator →

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