#B255AA#B255AA

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

Color values

HEX#B255AA
RGBrgb(178, 85, 170)
HSLhsl(305, 38%, 52%)
HSVhsv(305, 52%, 70%)
CMYKcmyk(0%, 52.2%, 4.5%, 30.2%)
CIE-LABlab(50.53, 49.31, -28.70)
CIE-LCHlch(50.53, 57.06, 329.80°)
OKLaboklab(59.39% 0.1398 -0.0784)
OKLCHoklch(59.39% 0.16 330.7)
XYZxyz(28.8641, 18.8661, 40.1436)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255AA #55B25D
analogous
#8C55B2 #B255AA #B2557C
triadic
#B255AA #AAB255 #55AAB2
tetradic
#B255AA #B28C55 #55B25D #557CB2
square
#B255AA #B28C55 #55B25D #557CB2
split-complementary
#B255AA #7CB255 #55B28C
monochromatic
#612C5C #8B3F84 #B255AA #C57FBF #D8A9D4

Accessibility & contrast

On white

4.40
#B255AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B255AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255AA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255AA#FFFFFF#000000##000000
##B255AA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b255aa;
/* rgb */ color: rgb(178, 85, 170);
/* oklch */ color: oklch(59.4% 0.160 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb89c3',
    500: '#b255aa',
    950: '#000000',
  },
}
SCSS
$custom: #b255aa;
$custom-light: #cb89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b255aa",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 305.161,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.16028,
    "h": 330.7
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B255AA

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

Preview Lab → · Contrast checker → · Palette generator →

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