#CE56FB#CE56FB

#CE56FB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.246 H 315.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CE56FB
RGBrgb(206, 86, 251)
HSLhsl(284, 95%, 66%)
HSVhsv(284, 66%, 98%)
CMYKcmyk(17.9%, 65.7%, 0%, 1.6%)
CIE-LABlab(58.74, 70.97, -61.57)
CIE-LCHlch(58.74, 93.95, 319.06°)
OKLaboklab(67.52% 0.1754 -0.173)
OKLCHoklch(67.52% 0.246 315.4)
XYZxyz(46.1912, 26.7441, 93.9770)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56FB #83FB56
analogous
#7B56FB #CE56FB #FB56D6
triadic
#CE56FB #FBCE56 #56FBCE
tetradic
#CE56FB #FB7B56 #83FB56 #56D6FB
square
#CE56FB #FB7B56 #83FB56 #56D6FB
split-complementary
#CE56FB #D6FB56 #56FB7B
monochromatic
#9A05D2 #BD1AFA #CE56FB #DF92FC #F1CEFE

Accessibility & contrast

On white

3.31
#CE56FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CE56FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56FB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56FB#FFFFFF#000000##000000
##CE56FB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5391F7
Tritanopia (blue-blind)
#CB76A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ce56fb;
/* rgb */ color: rgb(206, 86, 251);
/* oklch */ color: oklch(67.5% 0.246 315.4);
Tailwind
colors: {
  custom: {
    50: '#e18efd',
    500: '#ce56fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce56fb;
$custom-light: #e18efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56fb",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 283.636,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.24638,
    "h": 315.4
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#CE56FB
secondary
#CAF2BB
accent
#E6003F
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CE56FB

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

Preview Lab → · Contrast checker → · Palette generator →

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