#B754C2#B754C2

#B754C2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.187 H 323.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B754C2
RGBrgb(183, 84, 194)
HSLhsl(294, 47%, 55%)
HSVhsv(294, 57%, 76%)
CMYKcmyk(5.7%, 56.7%, 0%, 23.9%)
CIE-LABlab(52.18, 55.53, -40.01)
CIE-LCHlch(52.18, 68.44, 324.22°)
OKLaboklab(61.12% 0.15 -0.1108)
OKLCHoklch(61.12% 0.187 323.5)
XYZxyz(32.4355, 20.3046, 53.2392)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754C2 #5FC254
analogous
#8054C2 #B754C2 #C25496
triadic
#B754C2 #C2B754 #54C2B7
tetradic
#B754C2 #C28054 #5FC254 #5496C2
square
#B754C2 #C28054 #5FC254 #5496C2
split-complementary
#B754C2 #96C254 #54C280
monochromatic
#6B2973 #9639A0 #B754C2 #CA81D2 #DDAEE2

Accessibility & contrast

On white

4.15
#B754C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B754C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754C2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754C2#FFFFFF#000000##000000
##B754C21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#6481BF
Tritanopia (blue-blind)
#BA6383
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b754c2;
/* rgb */ color: rgb(183, 84, 194);
/* oklch */ color: oklch(61.1% 0.187 323.5);
Tailwind
colors: {
  custom: {
    50: '#cf89d5',
    500: '#b754c2',
    950: '#000000',
  },
}
SCSS
$custom: #b754c2;
$custom-light: #cf89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b754c2",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 294,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61119,
    "c": 0.18651,
    "h": 323.5
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#B754C2
secondary
#A6D0A2
accent
#D7515E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B754C2

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

Preview Lab → · Contrast checker → · Palette generator →

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