#B556CA#B556CA

#B556CA is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.190 H 320.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B556CA
RGBrgb(181, 86, 202)
HSLhsl(289, 52%, 56%)
HSVhsv(289, 57%, 79%)
CMYKcmyk(10.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(52.67, 55.59, -43.85)
CIE-LCHlch(52.67, 70.80, 321.73°)
OKLaboklab(61.55% 0.1457 -0.122)
OKLCHoklch(61.55% 0.19 320.1)
XYZxyz(33.0432, 20.7450, 58.1293)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556CA #6BCA56
analogous
#7B56CA #B556CA #CA56A5
triadic
#B556CA #CAB556 #56CAB5
tetradic
#B556CA #CA7B56 #6BCA56 #56A5CA
square
#B556CA #CA7B56 #6BCA56 #56A5CA
split-complementary
#B556CA #A5CA56 #56CA7B
monochromatic
#6E287E #9736AD #B556CA #C985D9 #DEB3E7

Accessibility & contrast

On white

4.08
#B556CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B556CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556CA#FFFFFF#000000##000000
##B556CA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#B66888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b556ca;
/* rgb */ color: rgb(181, 86, 202);
/* oklch */ color: oklch(61.6% 0.190 320.1);
Tailwind
colors: {
  custom: {
    50: '#ce8ada',
    500: '#b556ca',
    950: '#000000',
  },
}
SCSS
$custom: #b556ca;
$custom-light: #ce8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#b556ca",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 289.138,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.19004,
    "h": 320.1
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#B556CA
secondary
#AFD6A6
accent
#DC4C66
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B556CA

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

Preview Lab → · Contrast checker → · Palette generator →

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