#B155D2#B155D2

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

Color values

HEX#B155D2
RGBrgb(177, 85, 210)
HSLhsl(284, 58%, 58%)
HSVhsv(284, 60%, 82%)
CMYKcmyk(15.7%, 59.5%, 0%, 17.6%)
CIE-LABlab(52.40, 56.65, -48.89)
CIE-LCHlch(52.40, 74.83, 319.21°)
OKLaboklab(61.38% 0.1425 -0.1368)
OKLCHoklch(61.38% 0.198 316.2)
XYZxyz(33.0111, 20.4984, 63.1780)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155D2 #76D255
analogous
#7255D2 #B155D2 #D255B5
triadic
#B155D2 #D2B155 #55D2B1
tetradic
#B155D2 #D27255 #76D255 #55B5D2
square
#B155D2 #D27255 #76D255 #55B5D2
split-complementary
#B155D2 #B5D255 #55D272
monochromatic
#6E2488 #9531B9 #B155D2 #C785DF #DDB6EC

Accessibility & contrast

On white

4.12
#B155D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B155D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155D2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155D2#FFFFFF#000000##000000
##B155D21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#AF6A8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b155d2;
/* rgb */ color: rgb(177, 85, 210);
/* oklch */ color: oklch(61.4% 0.198 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb8ae0',
    500: '#b155d2',
    950: '#000000',
  },
}
SCSS
$custom: #b155d2;
$custom-light: #cb8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b155d2",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 284.16,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.19754,
    "h": 316.2
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#B155D2
secondary
#B6DAA8
accent
#E1466F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155D2

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

Preview Lab → · Contrast checker → · Palette generator →

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