#CF56F9#CF56F9

#CF56F9 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.5% C 0.245 H 316.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CF56F9
RGBrgb(207, 86, 249)
HSLhsl(285, 93%, 66%)
HSVhsv(285, 65%, 98%)
CMYKcmyk(16.9%, 65.5%, 0%, 2.4%)
CIE-LABlab(58.75, 70.79, -60.42)
CIE-LCHlch(58.75, 93.07, 319.52°)
OKLaboklab(67.52% 0.1767 -0.1697)
OKLCHoklch(67.52% 0.245 316.2)
XYZxyz(46.1562, 26.7623, 92.3385)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F9 #80F956
analogous
#7D56F9 #CF56F9 #F956D1
triadic
#CF56F9 #F9CF56 #56F9CF
tetradic
#CF56F9 #F97D56 #80F956 #56D1F9
square
#CF56F9 #F97D56 #80F956 #56D1F9
split-complementary
#CF56F9 #D1F956 #56F97D
monochromatic
#9A07CD #BE1BF7 #CF56F9 #E091FB #F1CCFD

Accessibility & contrast

On white

3.31
#CF56F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CF56F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F9#FFFFFF#000000##000000
##CF56F91.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#CC75A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf56f9;
/* rgb */ color: rgb(207, 86, 249);
/* oklch */ color: oklch(67.5% 0.245 316.2);
Tailwind
colors: {
  custom: {
    50: '#e28efc',
    500: '#cf56f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f9;
$custom-light: #e28efc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f9",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 284.54,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67524,
    "c": 0.24494,
    "h": 316.2
  },
  "luminance": 0.26761
}

Semantic roles & 50–950 ramp

primary
#CF56F9
secondary
#C8F1BA
accent
#E6003B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF56F9

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

Preview Lab → · Contrast checker → · Palette generator →

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