#CF4AFF#CF4AFF

#CF4AFF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.7% C 0.264 H 315.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF4AFF
RGBrgb(207, 74, 255)
HSLhsl(284, 100%, 65%)
HSVhsv(284, 71%, 100%)
CMYKcmyk(18.8%, 71%, 0%, 0%)
CIE-LABlab(57.45, 76.62, -65.84)
CIE-LCHlch(57.45, 101.03, 319.33°)
OKLaboklab(66.71% 0.1882 -0.1855)
OKLCHoklch(66.71% 0.264 315.4)
XYZxyz(46.2280, 25.3847, 97.0530)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AFF #7AFF4A
analogous
#744AFF #CF4AFF #FF4AD5
triadic
#CF4AFF #FFCF4A #4AFFCF
tetradic
#CF4AFF #FF744A #7AFF4A #4AD5FF
square
#CF4AFF #FF744A #7AFF4A #4AD5FF
split-complementary
#CF4AFF #D5FF4A #4AFF74
monochromatic
#9800CF #BF0DFF #CF4AFF #DF87FF #EFC4FF

Accessibility & contrast

On white

3.46
#CF4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CF4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AFF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AFF#FFFFFF#000000##000000
##CF4AFF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#CB70A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf4aff;
/* rgb */ color: rgb(207, 74, 255);
/* oklch */ color: oklch(66.7% 0.264 315.4);
Tailwind
colors: {
  custom: {
    50: '#e288ff',
    500: '#cf4aff',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aff;
$custom-light: #e288ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aff",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 284.088,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.26423,
    "h": 315.4
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#CF4AFF
secondary
#C4F2B3
accent
#E6003D
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CF4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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