#B155DB#B155DB

#B155DB is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 61.9% C 0.207 H 313.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B155DB
RGBrgb(177, 85, 219)
HSLhsl(281, 65%, 60%)
HSVhsv(281, 61%, 86%)
CMYKcmyk(19.2%, 61.2%, 0%, 14.1%)
CIE-LABlab(52.91, 58.50, -53.19)
CIE-LCHlch(52.91, 79.07, 317.72°)
OKLaboklab(61.92% 0.1426 -0.1494)
OKLCHoklch(61.92% 0.207 313.7)
XYZxyz(34.1640, 20.9596, 69.2500)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155DB #7FDB55
analogous
#6E55DB #B155DB #DB55C2
triadic
#B155DB #DBB155 #55DBB1
tetradic
#B155DB #DB6E55 #7FDB55 #55C2DB
square
#B155DB #DB6E55 #7FDB55 #55C2DB
split-complementary
#B155DB #C2DB55 #55DB6E
monochromatic
#712096 #972AC8 #B155DB #C888E6 #DFBAF0

Accessibility & contrast

On white

4.04
#B155DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B155DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155DB#FFFFFF#000000##000000
##B155DB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#AD6E90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b155db;
/* rgb */ color: rgb(177, 85, 219);
/* oklch */ color: oklch(61.9% 0.207 313.7);
Tailwind
colors: {
  custom: {
    50: '#cc8ae7',
    500: '#b155db',
    950: '#000000',
  },
}
SCSS
$custom: #b155db;
$custom-light: #cc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b155db",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 281.194,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.20651,
    "h": 313.7
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#B155DB
secondary
#BCE0AC
accent
#E84075
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B155DB

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

Preview Lab → · Contrast checker → · Palette generator →

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