#B754B8#B754B8

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

Color values

HEX#B754B8
RGBrgb(183, 84, 184)
HSLhsl(299, 41%, 53%)
HSVhsv(299, 54%, 72%)
CMYKcmyk(0.5%, 54.3%, 0%, 27.8%)
CIE-LABlab(51.69, 53.70, -35.00)
CIE-LCHlch(51.69, 64.10, 326.90°)
OKLaboklab(60.6% 0.149 -0.0963)
OKLCHoklch(60.6% 0.177 327.1)
XYZxyz(31.3500, 19.8704, 47.5222)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754B8 #55B854
analogous
#8554B8 #B754B8 #B85487
triadic
#B754B8 #B8B754 #54B8B7
tetradic
#B754B8 #B88554 #55B854 #5487B8
square
#B754B8 #B88554 #55B854 #5487B8
split-complementary
#B754B8 #87B854 #54B885
monochromatic
#662B67 #913D92 #B754B8 #C97FCA #DBAADC

Accessibility & contrast

On white

4.22
#B754B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B754B8#FFFFFF#000000##000000
##B754B81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#BC607E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b754b8;
/* rgb */ color: rgb(183, 84, 184);
/* oklch */ color: oklch(60.6% 0.177 327.1);
Tailwind
colors: {
  custom: {
    50: '#cf89cd',
    500: '#b754b8',
    950: '#000000',
  },
}
SCSS
$custom: #b754b8;
$custom-light: #cf89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b754b8",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 299.4,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.606,
    "c": 0.17741,
    "h": 327.1
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#B754B8
secondary
#9FCA9E
accent
#D15758
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #B754B8

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

Preview Lab → · Contrast checker → · Palette generator →

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