#CF56F1#CF56F1

#CF56F1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.238 H 318.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CF56F1
RGBrgb(207, 86, 241)
HSLhsl(287, 85%, 64%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(14.1%, 64.3%, 0%, 5.5%)
CIE-LABlab(58.30, 69.27, -56.71)
CIE-LCHlch(58.30, 89.52, 320.69°)
OKLaboklab(67.05% 0.1769 -0.1588)
OKLCHoklch(67.05% 0.238 318.1)
XYZxyz(44.9349, 26.2738, 85.9064)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F1 #78F156
analogous
#8256F1 #CF56F1 #F156C5
triadic
#CF56F1 #F1CF56 #56F1CF
tetradic
#CF56F1 #F18256 #78F156 #56C5F1
square
#CF56F1 #F18256 #78F156 #56C5F1
split-complementary
#CF56F1 #C5F156 #56F182
monochromatic
#9710BD #BF1DEC #CF56F1 #DF8FF6 #EFC7FA

Accessibility & contrast

On white

3.36
#CF56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CF56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F1#FFFFFF#000000##000000
##CF56F11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E84F6
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#CE729C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56f1;
/* rgb */ color: rgb(207, 86, 241);
/* oklch */ color: oklch(67.0% 0.238 318.1);
Tailwind
colors: {
  custom: {
    50: '#e18df6',
    500: '#cf56f1',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f1;
$custom-light: #e18df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f1",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 286.839,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67047,
    "c": 0.23773,
    "h": 318.1
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#CF56F1
secondary
#C2ECB6
accent
#E10435
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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