#B155CB#B155CB

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

Color values

HEX#B155CB
RGBrgb(177, 85, 203)
HSLhsl(287, 53%, 56%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.8%, 58.1%, 0%, 20.4%)
CIE-LABlab(52.01, 55.24, -45.50)
CIE-LCHlch(52.01, 71.56, 320.53°)
OKLaboklab(60.98% 0.1423 -0.1269)
OKLCHoklch(60.98% 0.191 318.3)
XYZxyz(32.1580, 20.1572, 58.6851)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155CB #6FCB55
analogous
#7655CB #B155CB #CB55AA
triadic
#B155CB #CBB155 #55CBB1
tetradic
#B155CB #CB7655 #6FCB55 #55AACB
square
#B155CB #CB7655 #6FCB55 #55AACB
split-complementary
#B155CB #AACB55 #55CB76
monochromatic
#6B277F #9335AE #B155CB #C784D9 #DCB3E8

Accessibility & contrast

On white

4.17
#B155CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B155CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155CB#FFFFFF#000000##000000
##B155CB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#B16888
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b155cb;
/* rgb */ color: rgb(177, 85, 203);
/* oklch */ color: oklch(61.0% 0.191 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb89db',
    500: '#b155cb',
    950: '#000000',
  },
}
SCSS
$custom: #b155cb;
$custom-light: #cb89db;
$custom-dark: #000000;
JSON
{
  "hex": "#b155cb",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 286.78,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.19063,
    "h": 318.3
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#B155CB
secondary
#B0D6A6
accent
#DD4B6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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