#B254AA#B254AA

#B254AA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.162 H 330.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B254AA
RGBrgb(178, 84, 170)
HSLhsl(305, 38%, 51%)
HSVhsv(305, 53%, 70%)
CMYKcmyk(0%, 52.8%, 4.5%, 30.2%)
CIE-LABlab(50.35, 49.80, -28.99)
CIE-LCHlch(50.35, 57.63, 329.80°)
OKLaboklab(59.26% 0.1412 -0.0792)
OKLCHoklch(59.26% 0.162 330.7)
XYZxyz(28.7859, 18.7097, 40.1176)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254AA #54B25C
analogous
#8B54B2 #B254AA #B2547B
triadic
#B254AA #AAB254 #54AAB2
tetradic
#B254AA #B28B54 #54B25C #547BB2
square
#B254AA #B28B54 #54B25C #547BB2
split-complementary
#B254AA #7BB254 #54B28B
monochromatic
#602B5C #8A3E84 #B254AA #C57EBF #D8A8D4

Accessibility & contrast

On white

4.43
#B254AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B254AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254AA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254AA#FFFFFF#000000##000000
##B254AA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AD
Deuteranopia (green-blind)
#6B7DA7
Tritanopia (blue-blind)
#B85C77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b254aa;
/* rgb */ color: rgb(178, 84, 170);
/* oklch */ color: oklch(59.3% 0.162 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb88c3',
    500: '#b254aa',
    950: '#000000',
  },
}
SCSS
$custom: #b254aa;
$custom-light: #cb88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b254aa",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 305.106,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.16191,
    "h": 330.7
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B254AA

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

Preview Lab → · Contrast checker → · Palette generator →

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