#CF5AF5#CF5AF5

#CF5AF5 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.236 H 316.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CF5AF5
RGBrgb(207, 90, 245)
HSLhsl(285, 89%, 66%)
HSVhsv(285, 63%, 96%)
CMYKcmyk(15.5%, 63.3%, 0%, 3.9%)
CIE-LABlab(59.13, 68.34, -57.60)
CIE-LCHlch(59.13, 89.37, 319.87°)
OKLaboklab(67.72% 0.1724 -0.1614)
OKLCHoklch(67.72% 0.236 316.9)
XYZxyz(45.8673, 27.1721, 89.1971)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AF5 #80F55A
analogous
#815AF5 #CF5AF5 #F55ACE
triadic
#CF5AF5 #F5CF5A #5AF5CF
tetradic
#CF5AF5 #F5815A #80F55A #5ACEF5
square
#CF5AF5 #F5815A #80F55A #5ACEF5
split-complementary
#CF5AF5 #CEF55A #5AF581
monochromatic
#9A0CC8 #BE20F2 #CF5AF5 #E094F8 #F1CDFC

Accessibility & contrast

On white

3.26
#CF5AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CF5AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AF5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AF5#FFFFFF#000000##000000
##CF5AF51.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#CD76A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5af5;
/* rgb */ color: rgb(207, 90, 245);
/* oklch */ color: oklch(67.7% 0.236 316.9);
Tailwind
colors: {
  custom: {
    50: '#e190f9',
    500: '#cf5af5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5af5;
$custom-light: #e190f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5af5",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 285.29,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67724,
    "c": 0.23618,
    "h": 316.9
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#CF5AF5
secondary
#C8EFBC
accent
#E50038
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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