#CF56F3#CF56F3

#CF56F3 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.240 H 317.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF56F3
RGBrgb(207, 86, 243)
HSLhsl(286, 87%, 65%)
HSVhsv(286, 65%, 95%)
CMYKcmyk(14.8%, 64.6%, 0%, 4.7%)
CIE-LABlab(58.41, 69.65, -57.64)
CIE-LCHlch(58.41, 90.41, 320.39°)
OKLaboklab(67.16% 0.1769 -0.1615)
OKLCHoklch(67.16% 0.24 317.6)
XYZxyz(45.2353, 26.3939, 87.4884)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56F3 #7AF356
analogous
#8156F3 #CF56F3 #F356C9
triadic
#CF56F3 #F3CF56 #56F3CF
tetradic
#CF56F3 #F38156 #7AF356 #56C9F3
square
#CF56F3 #F38156 #7AF356 #56C9F3
split-complementary
#CF56F3 #C9F356 #56F381
monochromatic
#980EC1 #BF1DEF #CF56F3 #DF8FF7 #EFC8FB

Accessibility & contrast

On white

3.34
#CF56F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF56F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56F3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56F3#FFFFFF#000000##000000
##CF56F31.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1885F8
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#CE739E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56f3;
/* rgb */ color: rgb(207, 86, 243);
/* oklch */ color: oklch(67.2% 0.240 317.6);
Tailwind
colors: {
  custom: {
    50: '#e18df8',
    500: '#cf56f3',
    950: '#000000',
  },
}
SCSS
$custom: #cf56f3;
$custom-light: #e18df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56f3",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 286.242,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67165,
    "c": 0.23953,
    "h": 317.6
  },
  "luminance": 0.26392
}

Semantic roles & 50–950 ramp

primary
#CF56F3
secondary
#C4EDB7
accent
#E30236
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56F3

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

Preview Lab → · Contrast checker → · Palette generator →

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