#B754C8#B754C8

#B754C8 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.192 H 321.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B754C8
RGBrgb(183, 84, 200)
HSLhsl(291, 51%, 56%)
HSVhsv(291, 58%, 78%)
CMYKcmyk(8.5%, 58%, 0%, 21.6%)
CIE-LABlab(52.49, 56.66, -42.98)
CIE-LCHlch(52.49, 71.11, 322.82°)
OKLaboklab(61.44% 0.1505 -0.1194)
OKLCHoklch(61.44% 0.192 321.6)
XYZxyz(33.1229, 20.5796, 56.8599)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754C8 #65C854
analogous
#7D54C8 #B754C8 #C8549F
triadic
#B754C8 #C8B754 #54C8B7
tetradic
#B754C8 #C87D54 #65C854 #549FC8
square
#B754C8 #C87D54 #65C854 #549FC8
split-complementary
#B754C8 #9FC854 #54C87D
monochromatic
#6E277A #9836A9 #B754C8 #CA82D7 #DEB1E6

Accessibility & contrast

On white

4.11
#B754C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B754C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754C8#FFFFFF#000000##000000
##B754C81.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#B96586
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b754c8;
/* rgb */ color: rgb(183, 84, 200);
/* oklch */ color: oklch(61.4% 0.192 321.6);
Tailwind
colors: {
  custom: {
    50: '#cf89d9',
    500: '#b754c8',
    950: '#000000',
  },
}
SCSS
$custom: #b754c8;
$custom-light: #cf89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b754c8",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 291.207,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.19209,
    "h": 321.6
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#B754C8
secondary
#ABD4A4
accent
#DB4D62
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B754C8

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

Preview Lab → · Contrast checker → · Palette generator →

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