#B654BA#B654BA

#B654BA is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.179 H 326.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B654BA
RGBrgb(182, 84, 186)
HSLhsl(298, 43%, 53%)
HSVhsv(298, 55%, 73%)
CMYKcmyk(2.2%, 54.8%, 0%, 27.1%)
CIE-LABlab(51.65, 53.78, -36.24)
CIE-LCHlch(51.65, 64.85, 326.03°)
OKLaboklab(60.57% 0.1481 -0.0999)
OKLCHoklch(60.57% 0.179 326)
XYZxyz(31.3240, 19.8327, 48.6230)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B654BA #58BA54
analogous
#8354BA #B654BA #BA548B
triadic
#B654BA #BAB654 #54BAB6
tetradic
#B654BA #BA8354 #58BA54 #548BBA
square
#B654BA #BA8354 #58BA54 #548BBA
split-complementary
#B654BA #8BBA54 #54BA83
monochromatic
#672A69 #913C95 #B654BA #C980CC #DBABDD

Accessibility & contrast

On white

4.23
#B654BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B654BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B654BA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B654BA#FFFFFF#000000##000000
##B654BA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#BA617F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b654ba;
/* rgb */ color: rgb(182, 84, 186);
/* oklch */ color: oklch(60.6% 0.179 326.0);
Tailwind
colors: {
  custom: {
    50: '#ce89cf',
    500: '#b654ba',
    950: '#000000',
  },
}
SCSS
$custom: #b654ba;
$custom-light: #ce89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b654ba",
  "rgb": {
    "r": 182,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 297.647,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.17863,
    "h": 326
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#B654BA
secondary
#A1CB9F
accent
#D2565A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B654BA

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

Preview Lab → · Contrast checker → · Palette generator →

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