#CF5AFF#CF5AFF

#CF5AFF is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.245 H 314.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CF5AFF
RGBrgb(207, 90, 255)
HSLhsl(283, 100%, 68%)
HSVhsv(283, 65%, 100%)
CMYKcmyk(18.8%, 64.7%, 0%, 0%)
CIE-LABlab(59.71, 70.28, -62.21)
CIE-LCHlch(59.71, 93.86, 318.48°)
OKLaboklab(68.32% 0.1721 -0.1749)
OKLCHoklch(68.32% 0.245 314.5)
XYZxyz(47.4353, 27.7993, 97.4554)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AFF #8AFF5A
analogous
#7C5AFF #CF5AFF #FF5ADD
triadic
#CF5AFF #FFCF5A #5AFFCF
tetradic
#CF5AFF #FF7C5A #8AFF5A #5ADDFF
square
#CF5AFF #FF7C5A #8AFF5A #5ADDFF
split-complementary
#CF5AFF #DDFF5A #5AFF7C
monochromatic
#9E00DF #BD1DFF #CF5AFF #E197FF #F3D4FF

Accessibility & contrast

On white

3.20
#CF5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CF5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AFF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AFF#FFFFFF#000000##000000
##CF5AFF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#CB7AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5aff;
/* rgb */ color: rgb(207, 90, 255);
/* oklch */ color: oklch(68.3% 0.245 314.5);
Tailwind
colors: {
  custom: {
    50: '#e290ff',
    500: '#cf5aff',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aff;
$custom-light: #e290ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aff",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 282.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68321,
    "c": 0.2454,
    "h": 314.5
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#CF5AFF
secondary
#D0F4C1
accent
#E60043
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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