#CF56F5#CF56F5

#CF56F5 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.241 H 317.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CF56F5
RGBrgb(207, 86, 245)
HSLhsl(286, 89%, 65%)
HSVhsv(286, 65%, 96%)
CMYKcmyk(15.5%, 64.9%, 0%, 3.9%)
CIE-LABlab(58.52, 70.03, -58.57)
CIE-LCHlch(58.52, 91.29, 320.09°)
OKLaboklab(67.28% 0.1768 -0.1642)
OKLCHoklch(67.28% 0.241 317.1)
XYZxyz(45.5389, 26.5154, 89.0877)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F5 #7CF556
analogous
#7F56F5 #CF56F5 #F556CC
triadic
#CF56F5 #F5CF56 #56F5CF
tetradic
#CF56F5 #F57F56 #7CF556 #56CCF5
square
#CF56F5 #F57F56 #7CF556 #56CCF5
split-complementary
#CF56F5 #CCF556 #56F57F
monochromatic
#990CC5 #BF1CF2 #CF56F5 #DF90F8 #F0CAFC

Accessibility & contrast

On white

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

On black

6.30
#CF56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F5#FFFFFF#000000##000000
##CF56F51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1285FA
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#CD739F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf56f5;
/* rgb */ color: rgb(207, 86, 245);
/* oklch */ color: oklch(67.3% 0.241 317.1);
Tailwind
colors: {
  custom: {
    50: '#e18ef9',
    500: '#cf56f5',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f5;
$custom-light: #e18ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f5",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 285.66,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67284,
    "c": 0.24133,
    "h": 317.1
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#CF56F5
secondary
#C5EFB8
accent
#E50037
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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