#B155D3#B155D3

#B155D3 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.199 H 315.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B155D3
RGBrgb(177, 85, 211)
HSLhsl(284, 59%, 58%)
HSVhsv(284, 60%, 83%)
CMYKcmyk(16.1%, 59.7%, 0%, 17.3%)
CIE-LABlab(52.45, 56.85, -49.37)
CIE-LCHlch(52.45, 75.30, 319.03°)
OKLaboklab(61.44% 0.1425 -0.1382)
OKLCHoklch(61.44% 0.199 315.9)
XYZxyz(33.1360, 20.5484, 63.8361)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155D3 #77D355
analogous
#7255D3 #B155D3 #D355B6
triadic
#B155D3 #D3B155 #55D3B1
tetradic
#B155D3 #D37255 #77D355 #55B6D3
square
#B155D3 #D37255 #77D355 #55B6D3
split-complementary
#B155D3 #B6D355 #55D372
monochromatic
#6E248A #9530BB #B155D3 #C786E0 #DEB6EC

Accessibility & contrast

On white

4.11
#B155D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B155D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155D3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155D3#FFFFFF#000000##000000
##B155D31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#AF6B8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b155d3;
/* rgb */ color: rgb(177, 85, 211);
/* oklch */ color: oklch(61.4% 0.199 315.9);
Tailwind
colors: {
  custom: {
    50: '#cb8ae1',
    500: '#b155d3',
    950: '#000000',
  },
}
SCSS
$custom: #b155d3;
$custom-light: #cb8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#b155d3",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 283.81,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.19854,
    "h": 315.9
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#B155D3
secondary
#B6DBA9
accent
#E24670
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155D3

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

Preview Lab → · Contrast checker → · Palette generator →

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