#B155AF#B155AF

#B155AF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.164 H 328.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B155AF
RGBrgb(177, 85, 175)
HSLhsl(301, 37%, 51%)
HSVhsv(301, 52%, 69%)
CMYKcmyk(0%, 52%, 1.1%, 30.6%)
CIE-LABlab(50.62, 49.91, -31.50)
CIE-LCHlch(50.62, 59.02, 327.74°)
OKLaboklab(59.5% 0.1395 -0.0864)
OKLCHoklch(59.5% 0.164 328.2)
XYZxyz(29.1174, 18.9410, 42.6714)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B155AF #55B157
analogous
#8555B1 #B155AF #B15581
triadic
#B155AF #AFB155 #55AFB1
tetradic
#B155AF #B18555 #55B157 #5581B1
square
#B155AF #B18555 #55B157 #5581B1
split-complementary
#B155AF #81B155 #55B185
monochromatic
#602C5F #8A3F88 #B155AF #C47FC3 #D7A9D6

Accessibility & contrast

On white

4.39
#B155AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B155AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B155AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B155AF#FFFFFF#000000##000000
##B155AF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#697DAC
Tritanopia (blue-blind)
#B65F7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b155af;
/* rgb */ color: rgb(177, 85, 175);
/* oklch */ color: oklch(59.5% 0.164 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca89c7',
    500: '#b155af',
    950: '#000000',
  },
}
SCSS
$custom: #b155af;
$custom-light: #ca89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b155af",
  "rgb": {
    "r": 177,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 301.304,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59502,
    "c": 0.16407,
    "h": 328.2
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#B155AF
secondary
#9DC59E
accent
#CD5D5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B155AF

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

Preview Lab → · Contrast checker → · Palette generator →

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