#CF56FD#CF56FD

#CF56FD is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.8% C 0.249 H 315.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CF56FD
RGBrgb(207, 86, 253)
HSLhsl(283, 98%, 66%)
HSVhsv(283, 66%, 99%)
CMYKcmyk(18.2%, 66%, 0%, 0.8%)
CIE-LABlab(58.99, 71.57, -62.26)
CIE-LCHlch(58.99, 94.86, 318.98°)
OKLaboklab(67.77% 0.1765 -0.175)
OKLCHoklch(67.77% 0.249 315.2)
XYZxyz(46.7867, 27.0145, 95.6592)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56FD #84FD56
analogous
#7C56FD #CF56FD #FD56D8
triadic
#CF56FD #FDCF56 #56FDCF
tetradic
#CF56FD #FD7C56 #84FD56 #56D8FD
square
#CF56FD #FD7C56 #84FD56 #56D8FD
split-complementary
#CF56FD #D8FD56 #56FD7C
monochromatic
#9C03D6 #BE1AFC #CF56FD #E092FE #F1CFFE

Accessibility & contrast

On white

3.28
#CF56FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CF56FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56FD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56FD#FFFFFF#000000##000000
##CF56FD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#CC76A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf56fd;
/* rgb */ color: rgb(207, 86, 253);
/* oklch */ color: oklch(67.8% 0.249 315.2);
Tailwind
colors: {
  custom: {
    50: '#e28eff',
    500: '#cf56fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf56fd;
$custom-light: #e28eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56fd",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 283.473,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67767,
    "c": 0.24856,
    "h": 315.2
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#CF56FD
secondary
#CBF2BC
accent
#E6003F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF56FD

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

Preview Lab → · Contrast checker → · Palette generator →

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