#B155CA#B155CA

#B155CA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.190 H 318.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B155CA
RGBrgb(177, 85, 202)
HSLhsl(287, 52%, 56%)
HSVhsv(287, 58%, 79%)
CMYKcmyk(12.4%, 57.9%, 0%, 20.8%)
CIE-LABlab(51.96, 55.04, -45.01)
CIE-LCHlch(51.96, 71.10, 320.73°)
OKLaboklab(60.92% 0.1422 -0.1255)
OKLCHoklch(60.92% 0.19 318.6)
XYZxyz(32.0392, 20.1097, 58.0595)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155CA #6ECA55
analogous
#7755CA #B155CA #CA55A9
triadic
#B155CA #CAB155 #55CAB1
tetradic
#B155CA #CA7755 #6ECA55 #55A9CA
square
#B155CA #CA7755 #6ECA55 #55A9CA
split-complementary
#B155CA #A9CA55 #55CA77
monochromatic
#6B277D #9336AC #B155CA #C684D9 #DCB2E7

Accessibility & contrast

On white

4.18
#B155CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B155CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155CA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155CA#FFFFFF#000000##000000
##B155CA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#B16888
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b155ca;
/* rgb */ color: rgb(177, 85, 202);
/* oklch */ color: oklch(60.9% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb89da',
    500: '#b155ca',
    950: '#000000',
  },
}
SCSS
$custom: #b155ca;
$custom-light: #cb89da;
$custom-dark: #000000;
JSON
{
  "hex": "#b155ca",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 287.179,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.18965,
    "h": 318.6
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#B155CA
secondary
#B0D5A5
accent
#DC4C6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155CA

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

Preview Lab → · Contrast checker → · Palette generator →

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