#CF5AE2#CF5AE2

#CF5AE2 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.6% C 0.219 H 321.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CF5AE2
RGBrgb(207, 90, 226)
HSLhsl(292, 70%, 62%)
HSVhsv(292, 60%, 89%)
CMYKcmyk(8.4%, 60.2%, 0%, 11.4%)
CIE-LABlab(58.10, 64.76, -48.63)
CIE-LCHlch(58.10, 80.99, 323.10°)
OKLaboklab(66.65% 0.1722 -0.1352)
OKLCHoklch(66.65% 0.219 321.8)
XYZxyz(43.1143, 26.0709, 74.6980)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AE2 #6DE25A
analogous
#8B5AE2 #CF5AE2 #E25AB1
triadic
#CF5AE2 #E2CF5A #5AE2CF
tetradic
#CF5AE2 #E28B5A #6DE25A #5AB1E2
square
#CF5AE2 #E28B5A #6DE25A #5AB1E2
split-complementary
#CF5AE2 #B1E25A #5AE28B
monochromatic
#921DA5 #C026D9 #CF5AE2 #DE8EEB #EDC2F4

Accessibility & contrast

On white

3.38
#CF5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CF5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AE2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AE2#FFFFFF#000000##000000
##CF5AE21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D83E6
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#D16F96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ae2;
/* rgb */ color: rgb(207, 90, 226);
/* oklch */ color: oklch(66.6% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#e18feb',
    500: '#cf5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ae2;
$custom-light: #e18feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ae2",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 291.618,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66646,
    "c": 0.21895,
    "h": 321.8
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#CF5AE2
secondary
#BAE5B3
accent
#D2132E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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