#CF4AF8#CF4AF8

#CF4AF8 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.3% C 0.258 H 317.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CF4AF8
RGBrgb(207, 74, 248)
HSLhsl(286, 93%, 63%)
HSVhsv(286, 70%, 97%)
CMYKcmyk(16.5%, 70.2%, 0%, 2.7%)
CIE-LABlab(57.02, 75.31, -62.65)
CIE-LCHlch(57.02, 97.96, 320.24°)
OKLaboklab(66.26% 0.1889 -0.1761)
OKLCHoklch(66.26% 0.258 317)
XYZxyz(45.1217, 24.9421, 91.2263)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AF8 #73F84A
analogous
#784AF8 #CF4AF8 #F84ACA
triadic
#CF4AF8 #F8CF4A #4AF8CF
tetradic
#CF4AF8 #F8784A #73F84A #4ACAF8
square
#CF4AF8 #F8784A #73F84A #4ACAF8
split-complementary
#CF4AF8 #CAF84A #4AF878
monochromatic
#9507C0 #BF0FF6 #CF4AF8 #DF85FA #EEC0FD

Accessibility & contrast

On white

3.51
#CF4AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CF4AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AF8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AF8#FFFFFF#000000##000000
##CF4AF81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#CD6D9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf4af8;
/* rgb */ color: rgb(207, 74, 248);
/* oklch */ color: oklch(66.3% 0.258 317.0);
Tailwind
colors: {
  custom: {
    50: '#e287fb',
    500: '#cf4af8',
    950: '#000000',
  },
}
SCSS
$custom: #cf4af8;
$custom-light: #e287fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4af8",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 248
  },
  "hsl": {
    "h": 285.862,
    "s": 92.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66263,
    "c": 0.25823,
    "h": 317
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#CF4AF8
secondary
#BEEEB0
accent
#E60036
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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