#B056CC#B056CC

#B056CC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.190 H 317.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B056CC
RGBrgb(176, 86, 204)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.7%, 57.8%, 0%, 20%)
CIE-LABlab(52.11, 54.71, -45.92)
CIE-LCHlch(52.11, 71.42, 319.99°)
OKLaboklab(61.04% 0.1398 -0.1282)
OKLCHoklch(61.04% 0.19 317.5)
XYZxyz(32.1298, 20.2465, 59.3305)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056CC #72CC56
analogous
#7556CC #B056CC #CC56AD
triadic
#B056CC #CCB056 #56CCB0
tetradic
#B056CC #CC7556 #72CC56 #56ADCC
square
#B056CC #CC7556 #72CC56 #56ADCC
split-complementary
#B056CC #ADCC56 #56CC75
monochromatic
#6B2781 #9335B0 #B056CC #C685DA #DCB4E8

Accessibility & contrast

On white

4.16
#B056CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B056CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056CC#FFFFFF#000000##000000
##B056CC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#AF6989
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b056cc;
/* rgb */ color: rgb(176, 86, 204);
/* oklch */ color: oklch(61.0% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca8adc',
    500: '#b056cc',
    950: '#000000',
  },
}
SCSS
$custom: #b056cc;
$custom-light: #ca8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b056cc",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 285.763,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.18968,
    "h": 317.5
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#B056CC
secondary
#B2D7A7
accent
#DD4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B056CC

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

Preview Lab → · Contrast checker → · Palette generator →

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