#CF56F0#CF56F0

#CF56F0 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.237 H 318.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CF56F0
RGBrgb(207, 86, 240)
HSLhsl(287, 84%, 64%)
HSVhsv(287, 64%, 94%)
CMYKcmyk(13.7%, 64.2%, 0%, 5.9%)
CIE-LABlab(58.24, 69.08, -56.24)
CIE-LCHlch(58.24, 89.08, 320.85°)
OKLaboklab(66.99% 0.1769 -0.1574)
OKLCHoklch(66.99% 0.237 318.3)
XYZxyz(44.7859, 26.2142, 85.1219)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F0 #77F056
analogous
#8256F0 #CF56F0 #F056C4
triadic
#CF56F0 #F0CF56 #56F0CF
tetradic
#CF56F0 #F08256 #77F056 #56C4F0
square
#CF56F0 #F08256 #77F056 #56C4F0
split-complementary
#CF56F0 #C4F056 #56F082
monochromatic
#9611BB #BF1EEB #CF56F0 #DF8EF5 #EFC6FA

Accessibility & contrast

On white

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

On black

6.24
#CF56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F0#FFFFFF#000000##000000
##CF56F01.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F5
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#CE719C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56f0;
/* rgb */ color: rgb(207, 86, 240);
/* oklch */ color: oklch(67.0% 0.237 318.3);
Tailwind
colors: {
  custom: {
    50: '#e18df6',
    500: '#cf56f0',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f0;
$custom-light: #e18df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f0",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 287.143,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66989,
    "c": 0.23684,
    "h": 318.3
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#CF56F0
secondary
#C1ECB6
accent
#E00534
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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