#CB56FF#CB56FF

#CB56FF is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.249 H 313.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CB56FF
RGBrgb(203, 86, 255)
HSLhsl(282, 100%, 67%)
HSVhsv(282, 66%, 100%)
CMYKcmyk(20.4%, 66.3%, 0%, 0%)
CIE-LABlab(58.58, 71.12, -64.05)
CIE-LCHlch(58.58, 95.71, 317.99°)
OKLaboklab(67.4% 0.1716 -0.1804)
OKLCHoklch(67.4% 0.249 313.6)
XYZxyz(46.0033, 26.5735, 97.2942)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56FF #8AFF56
analogous
#7656FF #CB56FF #FF56DF
triadic
#CB56FF #FFCB56 #56FFCB
tetradic
#CB56FF #FF7656 #8AFF56 #56DFFF
square
#CB56FF #FF7656 #8AFF56 #56DFFF
split-complementary
#CB56FF #DFFF56 #56FF76
monochromatic
#9700DB #B819FF #CB56FF #DE93FF #F1D0FF

Accessibility & contrast

On white

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

On black

6.31
#CB56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56FF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56FF#FFFFFF#000000##000000
##CB56FF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#C678A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb56ff;
/* rgb */ color: rgb(203, 86, 255);
/* oklch */ color: oklch(67.4% 0.249 313.6);
Tailwind
colors: {
  custom: {
    50: '#df8eff',
    500: '#cb56ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb56ff;
$custom-light: #df8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56ff",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 281.538,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.674,
    "c": 0.24898,
    "h": 313.6
  },
  "luminance": 0.26572
}

Semantic roles & 50–950 ramp

primary
#CB56FF
secondary
#CEF3BD
accent
#E60047
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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