#B254BF#B254BF

#B254BF is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.181 H 322.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B254BF
RGBrgb(178, 84, 191)
HSLhsl(293, 46%, 54%)
HSVhsv(293, 56%, 75%)
CMYKcmyk(6.8%, 56%, 0%, 25.1%)
CIE-LABlab(51.35, 53.64, -39.64)
CIE-LCHlch(51.35, 66.70, 323.54°)
OKLaboklab(60.32% 0.1439 -0.1099)
OKLCHoklch(60.32% 0.181 322.6)
XYZxyz(30.9334, 19.5687, 51.4279)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254BF #61BF54
analogous
#7D54BF #B254BF #BF5497
triadic
#B254BF #BFB254 #54BFB2
tetradic
#B254BF #BF7D54 #61BF54 #5497BF
square
#B254BF #BF7D54 #61BF54 #5497BF
split-complementary
#B254BF #97BF54 #54BF7D
monochromatic
#672A6F #903A9C #B254BF #C681D0 #DAADE0

Accessibility & contrast

On white

4.27
#B254BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B254BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254BF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254BF#FFFFFF#000000##000000
##B254BF1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#B46382
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b254bf;
/* rgb */ color: rgb(178, 84, 191);
/* oklch */ color: oklch(60.3% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#cc89d3',
    500: '#b254bf',
    950: '#000000',
  },
}
SCSS
$custom: #b254bf;
$custom-light: #cc89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b254bf",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 292.71,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60317,
    "c": 0.18106,
    "h": 322.6
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#B254BF
secondary
#A6CEA1
accent
#D55362
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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