#CF5AFE#CF5AFE

#CF5AFE is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.244 H 314.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CF5AFE
RGBrgb(207, 90, 254)
HSLhsl(283, 99%, 67%)
HSVhsv(283, 65%, 100%)
CMYKcmyk(18.5%, 64.6%, 0%, 0.4%)
CIE-LABlab(59.65, 70.08, -61.76)
CIE-LCHlch(59.65, 93.41, 318.62°)
OKLaboklab(68.26% 0.1721 -0.1736)
OKLCHoklch(68.26% 0.244 314.8)
XYZxyz(47.2748, 27.7351, 96.6098)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AFE #89FE5A
analogous
#7D5AFE #CF5AFE #FE5ADB
triadic
#CF5AFE #FECF5A #5AFECF
tetradic
#CF5AFE #FE7D5A #89FE5A #5ADBFE
square
#CF5AFE #FE7D5A #89FE5A #5ADBFE
split-complementary
#CF5AFE #DBFE5A #5AFE7D
monochromatic
#9E01DC #BD1DFE #CF5AFE #E197FE #F2D4FF

Accessibility & contrast

On white

3.21
#CF5AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CF5AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AFE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AFE#FFFFFF#000000##000000
##CF5AFE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#CB79A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5afe;
/* rgb */ color: rgb(207, 90, 254);
/* oklch */ color: oklch(68.3% 0.244 314.8);
Tailwind
colors: {
  custom: {
    50: '#e290ff',
    500: '#cf5afe',
    950: '#000000',
  },
}
SCSS
$custom: #cf5afe;
$custom-light: #e290ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5afe",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 254
  },
  "hsl": {
    "h": 282.805,
    "s": 98.795,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.24447,
    "h": 314.8
  },
  "luminance": 0.27733
}

Semantic roles & 50–950 ramp

primary
#CF5AFE
secondary
#CFF4C0
accent
#E60042
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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