#B155CC#B155CC

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

Color values

HEX#B155CC
RGBrgb(177, 85, 204)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.2%, 58.3%, 0%, 20%)
CIE-LABlab(52.07, 55.44, -45.98)
CIE-LCHlch(52.07, 72.03, 320.33°)
OKLaboklab(61.04% 0.1423 -0.1283)
OKLCHoklch(61.04% 0.192 318)
XYZxyz(32.2775, 20.2050, 59.3147)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155CC #70CC55
analogous
#7655CC #B155CC #CC55AB
triadic
#B155CC #CCB155 #55CCB1
tetradic
#B155CC #CC7655 #70CC55 #55ABCC
square
#B155CC #CC7655 #70CC55 #55ABCC
split-complementary
#B155CC #ABCC55 #55CC76
monochromatic
#6C2680 #9335AF #B155CC #C784DA #DCB3E8

Accessibility & contrast

On white

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

On black

5.04
#B155CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155CC#FFFFFF#000000##000000
##B155CC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#B16889
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b155cc;
/* rgb */ color: rgb(177, 85, 204);
/* oklch */ color: oklch(61.0% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb89dc',
    500: '#b155cc',
    950: '#000000',
  },
}
SCSS
$custom: #b155cc;
$custom-light: #cb89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b155cc",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 286.387,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.19161,
    "h": 318
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#B155CC
secondary
#B1D7A6
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B155CC

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

Preview Lab → · Contrast checker → · Palette generator →

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