#CF5AEA#CF5AEA

#CF5AEA is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.226 H 319.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CF5AEA
RGBrgb(207, 90, 234)
HSLhsl(289, 77%, 64%)
HSVhsv(289, 62%, 92%)
CMYKcmyk(11.5%, 61.5%, 0%, 8.2%)
CIE-LABlab(58.53, 66.25, -52.44)
CIE-LCHlch(58.53, 84.49, 321.64°)
OKLaboklab(67.09% 0.1724 -0.1463)
OKLCHoklch(67.09% 0.226 319.7)
XYZxyz(44.2377, 26.5202, 80.6147)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AEA #75EA5A
analogous
#875AEA #CF5AEA #EA5ABD
triadic
#CF5AEA #EACF5A #5AEACF
tetradic
#CF5AEA #EA875A #75EA5A #5ABDEA
square
#CF5AEA #EA875A #75EA5A #5ABDEA
split-complementary
#CF5AEA #BDEA5A #5AEA87
monochromatic
#9617B3 #BF24E3 #CF5AEA #DF90F1 #EFC7F8

Accessibility & contrast

On white

3.33
#CF5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CF5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AEA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AEA#FFFFFF#000000##000000
##CF5AEA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#D0729A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5aea;
/* rgb */ color: rgb(207, 90, 234);
/* oklch */ color: oklch(67.1% 0.226 319.7);
Tailwind
colors: {
  custom: {
    50: '#e18ff1',
    500: '#cf5aea',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aea;
$custom-light: #e18ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aea",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 288.75,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6709,
    "c": 0.22615,
    "h": 319.7
  },
  "luminance": 0.26518
}

Semantic roles & 50–950 ramp

primary
#CF5AEA
secondary
#C0E9B6
accent
#DA0C32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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