#B754B2#B754B2

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

Color values

HEX#B754B2
RGBrgb(183, 84, 178)
HSLhsl(303, 41%, 52%)
HSVhsv(303, 54%, 72%)
CMYKcmyk(0%, 54.1%, 2.7%, 28.2%)
CIE-LABlab(51.41, 52.63, -31.95)
CIE-LCHlch(51.41, 61.57, 328.74°)
OKLaboklab(60.3% 0.1482 -0.0876)
OKLCHoklch(60.3% 0.172 329.4)
XYZxyz(30.7343, 19.6242, 44.2799)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754B2 #54B759
analogous
#8A54B7 #B754B2 #B75481
triadic
#B754B2 #B2B754 #54B2B7
tetradic
#B754B2 #B78A54 #54B759 #5481B7
square
#B754B2 #B78A54 #54B759 #5481B7
split-complementary
#B754B2 #81B754 #54B78A
monochromatic
#662B63 #913D8D #B754B2 #C97FC5 #DBAAD9

Accessibility & contrast

On white

4.26
#B754B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B754B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754B2#FFFFFF#000000##000000
##B754B21.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#BD5E7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b754b2;
/* rgb */ color: rgb(183, 84, 178);
/* oklch */ color: oklch(60.3% 0.172 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf89c9',
    500: '#b754b2',
    950: '#000000',
  },
}
SCSS
$custom: #b754b2;
$custom-light: #cf89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b754b2",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 303.03,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60302,
    "c": 0.17211,
    "h": 329.4
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#B754B2
secondary
#9EC9A0
accent
#D15D57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B754B2

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

Preview Lab → · Contrast checker → · Palette generator →

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