#B255A8#B255A8

#B255A8 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.3% C 0.159 H 331.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B255A8
RGBrgb(178, 85, 168)
HSLhsl(306, 38%, 52%)
HSVhsv(306, 52%, 70%)
CMYKcmyk(0%, 52.2%, 5.6%, 30.2%)
CIE-LABlab(50.44, 48.96, -27.67)
CIE-LCHlch(50.44, 56.24, 330.53°)
OKLaboklab(59.3% 0.1395 -0.0754)
OKLCHoklch(59.3% 0.159 331.6)
XYZxyz(28.6763, 18.7910, 39.1548)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255A8 #55B25F
analogous
#8E55B2 #B255A8 #B2557A
triadic
#B255A8 #A8B255 #55A8B2
tetradic
#B255A8 #B28E55 #55B25F #557AB2
square
#B255A8 #B28E55 #55B25F #557AB2
split-complementary
#B255A8 #7AB255 #55B28E
monochromatic
#612C5B #8B3F83 #B255A8 #C57FBE #D8A9D3

Accessibility & contrast

On white

4.41
#B255A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B255A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255A8#FFFFFF#000000##000000
##B255A81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#B85C77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b255a8;
/* rgb */ color: rgb(178, 85, 168);
/* oklch */ color: oklch(59.3% 0.159 331.6);
Tailwind
colors: {
  custom: {
    50: '#cb89c2',
    500: '#b255a8',
    950: '#000000',
  },
}
SCSS
$custom: #b255a8;
$custom-light: #cb89c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b255a8",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 306.452,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.15855,
    "h": 331.6
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#B255A8
secondary
#9DC6A1
accent
#CE675A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B255A8

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

Preview Lab → · Contrast checker → · Palette generator →

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