#CF5FF4#CF5FF4

#CF5FF4 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.2% C 0.229 H 316.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#CF5FF4
RGBrgb(207, 95, 244)
HSLhsl(285, 87%, 66%)
HSVhsv(285, 61%, 96%)
CMYKcmyk(15.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(59.87, 65.95, -55.86)
CIE-LCHlch(59.87, 86.43, 319.74°)
OKLaboklab(68.24% 0.1667 -0.1564)
OKLCHoklch(68.24% 0.229 316.8)
XYZxyz(46.1511, 27.9832, 88.5407)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FF4 #84F45F
analogous
#855FF4 #CF5FF4 #F45FCE
triadic
#CF5FF4 #F4CF5F #5FF4CF
tetradic
#CF5FF4 #F4855F #84F45F #5FCEF4
square
#CF5FF4 #F4855F #84F45F #5FCEF4
split-complementary
#CF5FF4 #CEF45F #5FF485
monochromatic
#9C0ECB #BE26F0 #CF5FF4 #E098F8 #F1D2FC

Accessibility & contrast

On white

3.18
#CF5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#CF5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FF4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FF4#FFFFFF#000000##000000
##CF5FF41.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3189F9
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#CD79A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ff4;
/* rgb */ color: rgb(207, 95, 244);
/* oklch */ color: oklch(68.2% 0.229 316.8);
Tailwind
colors: {
  custom: {
    50: '#e193f8',
    500: '#cf5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ff4;
$custom-light: #e193f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ff4",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 285.101,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68241,
    "c": 0.22857,
    "h": 316.8
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#CF5FF4
secondary
#CBF0BF
accent
#E4023A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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