#CF5AF7#CF5AF7

#CF5AF7 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.238 H 316.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CF5AF7
RGBrgb(207, 90, 247)
HSLhsl(285, 91%, 66%)
HSVhsv(285, 64%, 97%)
CMYKcmyk(16.2%, 63.6%, 0%, 3.1%)
CIE-LABlab(59.25, 68.72, -58.53)
CIE-LCHlch(59.25, 90.27, 319.58°)
OKLaboklab(67.84% 0.1724 -0.1641)
OKLCHoklch(67.84% 0.238 316.4)
XYZxyz(46.1743, 27.2949, 90.8138)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AF7 #82F75A
analogous
#805AF7 #CF5AF7 #F75AD1
triadic
#CF5AF7 #F7CF5A #5AF7CF
tetradic
#CF5AF7 #F7805A #82F75A #5AD1F7
square
#CF5AF7 #F7805A #82F75A #5AD1F7
split-complementary
#CF5AF7 #D1F75A #5AF780
monochromatic
#9B0ACD #BE20F4 #CF5AF7 #E094FA #F1CFFD

Accessibility & contrast

On white

3.25
#CF5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CF5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AF7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AF7#FFFFFF#000000##000000
##CF5AF71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FC
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#CD77A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5af7;
/* rgb */ color: rgb(207, 90, 247);
/* oklch */ color: oklch(67.8% 0.238 316.4);
Tailwind
colors: {
  custom: {
    50: '#e190fa',
    500: '#cf5af7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5af7;
$custom-light: #e190fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5af7",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 284.713,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.23802,
    "h": 316.4
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#CF5AF7
secondary
#CAF0BD
accent
#E6003A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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