#B254B2#B254B2

#B254B2 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.169 H 327.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B254B2
RGBrgb(178, 84, 178)
HSLhsl(300, 38%, 51%)
HSVhsv(300, 53%, 70%)
CMYKcmyk(0%, 52.8%, 0%, 30.2%)
CIE-LABlab(50.71, 51.23, -33.09)
CIE-LCHlch(50.71, 60.99, 327.14°)
OKLaboklab(59.65% 0.1424 -0.091)
OKLCHoklch(59.65% 0.169 327.4)
XYZxyz(29.5658, 19.0217, 44.2251)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254B2 #54B254
analogous
#8354B2 #B254B2 #B25483
triadic
#B254B2 #B2B254 #54B2B2
tetradic
#B254B2 #B28354 #54B254 #5483B2
square
#B254B2 #B28354 #54B254 #5483B2
split-complementary
#B254B2 #83B254 #54B283
monochromatic
#602B60 #8A3E8A #B254B2 #C57EC5 #D8A8D8

Accessibility & contrast

On white

4.37
#B254B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B254B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254B2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254B2#FFFFFF#000000##000000
##B254B21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#B75F7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b254b2;
/* rgb */ color: rgb(178, 84, 178);
/* oklch */ color: oklch(59.6% 0.169 327.4);
Tailwind
colors: {
  custom: {
    50: '#cb88c9',
    500: '#b254b2',
    950: '#000000',
  },
}
SCSS
$custom: #b254b2;
$custom-light: #cb88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b254b2",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.16901,
    "h": 327.4
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#B254B2
secondary
#9CC69C
accent
#CE5A5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B254B2

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

Preview Lab → · Contrast checker → · Palette generator →

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