#CF5AEF#CF5AEF

#CF5AEF is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.231 H 318.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CF5AEF
RGBrgb(207, 90, 239)
HSLhsl(287, 82%, 65%)
HSVhsv(287, 62%, 94%)
CMYKcmyk(13.4%, 62.3%, 0%, 6.3%)
CIE-LABlab(58.80, 67.19, -54.79)
CIE-LCHlch(58.80, 86.70, 320.80°)
OKLaboklab(67.38% 0.1725 -0.1532)
OKLCHoklch(67.38% 0.231 318.4)
XYZxyz(44.9662, 26.8116, 84.4512)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AEF #7AEF5A
analogous
#855AEF #CF5AEF #EF5AC5
triadic
#CF5AEF #EFCF5A #5AEFCF
tetradic
#CF5AEF #EF855A #7AEF5A #5AC5EF
square
#CF5AEF #EF855A #7AEF5A #5AC5EF
split-complementary
#CF5AEF #C5EF5A #5AEF85
monochromatic
#9812BC #BF22EA #CF5AEF #DF92F4 #EFCAFA

Accessibility & contrast

On white

3.30
#CF5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CF5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AEF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AEF#FFFFFF#000000##000000
##CF5AEF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F4
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#CF749D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5aef;
/* rgb */ color: rgb(207, 90, 239);
/* oklch */ color: oklch(67.4% 0.231 318.4);
Tailwind
colors: {
  custom: {
    50: '#e190f5',
    500: '#cf5aef',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aef;
$custom-light: #e190f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aef",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 287.114,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.23069,
    "h": 318.4
  },
  "luminance": 0.2681
}

Semantic roles & 50–950 ramp

primary
#CF5AEF
secondary
#C4ECB9
accent
#DF0735
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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