#B754AA#B754AA

#B754AA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.9% C 0.165 H 332.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B754AA
RGBrgb(183, 84, 170)
HSLhsl(308, 41%, 52%)
HSVhsv(308, 54%, 72%)
CMYKcmyk(0%, 54.1%, 7.1%, 28.2%)
CIE-LABlab(51.05, 51.25, -27.84)
CIE-LCHlch(51.05, 58.32, 331.49°)
OKLaboklab(59.92% 0.1469 -0.0758)
OKLCHoklch(59.92% 0.165 332.7)
XYZxyz(29.9544, 19.3122, 40.1723)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754AA #54B761
analogous
#9354B7 #B754AA #B75478
triadic
#B754AA #AAB754 #54AAB7
tetradic
#B754AA #B79354 #54B761 #5478B7
square
#B754AA #B79354 #54B761 #5478B7
split-complementary
#B754AA #78B754 #54B793
monochromatic
#662B5E #913D86 #B754AA #C97FBF #DBAAD5

Accessibility & contrast

On white

4.32
#B754AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B754AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754AA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754AA#FFFFFF#000000##000000
##B754AA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#BE5B77
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b754aa;
/* rgb */ color: rgb(183, 84, 170);
/* oklch */ color: oklch(59.9% 0.165 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf89c3',
    500: '#b754aa',
    950: '#000000',
  },
}
SCSS
$custom: #b754aa;
$custom-light: #cf89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b754aa",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 307.879,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.16529,
    "h": 332.7
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#B754AA
secondary
#9EC9A4
accent
#D16757
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B754AA

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

Preview Lab → · Contrast checker → · Palette generator →

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