#CF5AFA#CF5AFA

#CF5AFA is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.241 H 315.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5AFA
RGBrgb(207, 90, 250)
HSLhsl(284, 94%, 67%)
HSVhsv(284, 64%, 98%)
CMYKcmyk(17.2%, 64%, 0%, 2%)
CIE-LABlab(59.42, 69.30, -59.91)
CIE-LCHlch(59.42, 91.61, 319.16°)
OKLaboklab(68.02% 0.1723 -0.1682)
OKLCHoklch(68.02% 0.241 315.7)
XYZxyz(46.6409, 27.4815, 93.2715)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AFA #85FA5A
analogous
#7F5AFA #CF5AFA #FA5AD5
triadic
#CF5AFA #FACF5A #5AFACF
tetradic
#CF5AFA #FA7F5A #85FA5A #5AD5FA
square
#CF5AFA #FA7F5A #85FA5A #5AD5FA
split-complementary
#CF5AFA #D5FA5A #5AFA7F
monochromatic
#9C06D3 #BE1FF8 #CF5AFA #E095FC #F2D1FE

Accessibility & contrast

On white

3.23
#CF5AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CF5AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AFA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AFA#FFFFFF#000000##000000
##CF5AFA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1488FF
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#CC78A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5afa;
/* rgb */ color: rgb(207, 90, 250);
/* oklch */ color: oklch(68.0% 0.241 315.7);
Tailwind
colors: {
  custom: {
    50: '#e190fd',
    500: '#cf5afa',
    950: '#000000',
  },
}
SCSS
$custom: #cf5afa;
$custom-light: #e190fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5afa",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 283.875,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6802,
    "c": 0.24078,
    "h": 315.7
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

primary
#CF5AFA
secondary
#CCF2BE
accent
#E6003E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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