#B255AC#B255AC

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

Color values

HEX#B255AC
RGBrgb(178, 85, 172)
HSLhsl(304, 38%, 52%)
HSVhsv(304, 52%, 70%)
CMYKcmyk(0%, 52.2%, 3.4%, 30.2%)
CIE-LABlab(50.62, 49.66, -29.74)
CIE-LCHlch(50.62, 57.89, 329.09°)
OKLaboklab(59.49% 0.1401 -0.0813)
OKLCHoklch(59.49% 0.162 329.9)
XYZxyz(29.0547, 18.9423, 41.1476)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255AC #55B25B
analogous
#8A55B2 #B255AC #B2557E
triadic
#B255AC #ACB255 #55ACB2
tetradic
#B255AC #B28A55 #55B25B #557EB2
square
#B255AC #B28A55 #55B25B #557EB2
split-complementary
#B255AC #7EB255 #55B28A
monochromatic
#612C5D #8B3F86 #B255AC #C57FC1 #D8A9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B255AC#FFFFFF#000000##000000
##B255AC1.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)
#4F70AF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#B85D79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b255ac;
/* rgb */ color: rgb(178, 85, 172);
/* oklch */ color: oklch(59.5% 0.162 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb89c5',
    500: '#b255ac',
    950: '#000000',
  },
}
SCSS
$custom: #b255ac;
$custom-light: #cb89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ac",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 303.871,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.16204,
    "h": 329.9
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#B255AC
secondary
#9DC6A0
accent
#CE625A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B255AC

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

Preview Lab → · Contrast checker → · Palette generator →

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