#B255AB#B255AB

#B255AB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.4% C 0.161 H 330.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B255AB
RGBrgb(178, 85, 171)
HSLhsl(305, 38%, 52%)
HSVhsv(305, 52%, 70%)
CMYKcmyk(0%, 52.2%, 3.9%, 30.2%)
CIE-LABlab(50.57, 49.49, -29.22)
CIE-LCHlch(50.57, 57.47, 329.44°)
OKLaboklab(59.44% 0.14 -0.0799)
OKLCHoklch(59.44% 0.161 330.3)
XYZxyz(28.9590, 18.9040, 40.6437)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255AB #55B25C
analogous
#8B55B2 #B255AB #B2557D
triadic
#B255AB #ABB255 #55ABB2
tetradic
#B255AB #B28B55 #55B25C #557DB2
square
#B255AB #B28B55 #55B25C #557DB2
split-complementary
#B255AB #7DB255 #55B28B
monochromatic
#612C5D #8B3F85 #B255AB #C57FC0 #D8A9D5

Accessibility & contrast

On white

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

On black

4.78
#B255AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255AB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255AB#FFFFFF#000000##000000
##B255AB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#B85D78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b255ab;
/* rgb */ color: rgb(178, 85, 171);
/* oklch */ color: oklch(59.4% 0.161 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb89c4',
    500: '#b255ab',
    950: '#000000',
  },
}
SCSS
$custom: #b255ab;
$custom-light: #cb89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ab",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 304.516,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.16116,
    "h": 330.3
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#B255AB
secondary
#9DC6A0
accent
#CE635A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B255AB

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

Preview Lab → · Contrast checker → · Palette generator →

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