#CF56F6#CF56F6

#CF56F6 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.242 H 316.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CF56F6
RGBrgb(207, 86, 246)
HSLhsl(285, 90%, 65%)
HSVhsv(285, 65%, 96%)
CMYKcmyk(15.9%, 65%, 0%, 3.5%)
CIE-LABlab(58.58, 70.22, -59.04)
CIE-LCHlch(58.58, 91.74, 319.94°)
OKLaboklab(67.34% 0.1768 -0.1656)
OKLCHoklch(67.34% 0.242 316.9)
XYZxyz(45.6920, 26.5766, 89.8938)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F6 #7DF656
analogous
#7F56F6 #CF56F6 #F656CD
triadic
#CF56F6 #F6CF56 #56F6CF
tetradic
#CF56F6 #F67F56 #7DF656 #56CDF6
square
#CF56F6 #F67F56 #7DF656 #56CDF6
split-complementary
#CF56F6 #CDF656 #56F67F
monochromatic
#990BC7 #BE1CF3 #CF56F6 #E090F9 #F0CAFC

Accessibility & contrast

On white

3.33
#CF56F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CF56F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F6#FFFFFF#000000##000000
##CF56F61.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D85FB
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#CD749F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf56f6;
/* rgb */ color: rgb(207, 86, 246);
/* oklch */ color: oklch(67.3% 0.242 316.9);
Tailwind
colors: {
  custom: {
    50: '#e18efa',
    500: '#cf56f6',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f6;
$custom-light: #e18efa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f6",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 285.375,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.24223,
    "h": 316.9
  },
  "luminance": 0.26575
}

Semantic roles & 50–950 ramp

primary
#CF56F6
secondary
#C6EFB9
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56F6

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

Preview Lab → · Contrast checker → · Palette generator →

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