#B255B0#B255B0

#B255B0 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.166 H 328.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B255B0
RGBrgb(178, 85, 176)
HSLhsl(301, 38%, 52%)
HSVhsv(301, 52%, 70%)
CMYKcmyk(0%, 52.2%, 1.1%, 30.2%)
CIE-LABlab(50.80, 50.38, -31.79)
CIE-LCHlch(50.80, 59.57, 327.75°)
OKLaboklab(59.68% 0.1408 -0.0872)
OKLCHoklch(59.68% 0.166 328.2)
XYZxyz(29.4447, 19.0983, 43.2013)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255B0 #55B257
analogous
#8655B2 #B255B0 #B25582
triadic
#B255B0 #B0B255 #55B0B2
tetradic
#B255B0 #B28655 #55B257 #5582B2
square
#B255B0 #B28655 #55B257 #5582B2
split-complementary
#B255B0 #82B255 #55B286
monochromatic
#612C60 #8B3F89 #B255B0 #C57FC4 #D8A9D7

Accessibility & contrast

On white

4.36
#B255B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B255B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255B0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255B0#FFFFFF#000000##000000
##B255B01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B3
Deuteranopia (green-blind)
#6A7DAD
Tritanopia (blue-blind)
#B75F7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b255b0;
/* rgb */ color: rgb(178, 85, 176);
/* oklch */ color: oklch(59.7% 0.166 328.2);
Tailwind
colors: {
  custom: {
    50: '#cb89c8',
    500: '#b255b0',
    950: '#000000',
  },
}
SCSS
$custom: #b255b0;
$custom-light: #cb89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b255b0",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 176
  },
  "hsl": {
    "h": 301.29,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.1656,
    "h": 328.2
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#B255B0
secondary
#9DC69E
accent
#CE5D5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B255B0

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

Preview Lab → · Contrast checker → · Palette generator →

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