#B654C2#B654C2

#B654C2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.186 H 323.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B654C2
RGBrgb(182, 84, 194)
HSLhsl(293, 47%, 55%)
HSVhsv(293, 57%, 76%)
CMYKcmyk(6.2%, 56.7%, 0%, 23.9%)
CIE-LABlab(52.04, 55.26, -40.24)
CIE-LCHlch(52.04, 68.36, 323.94°)
OKLaboklab(60.99% 0.1489 -0.1115)
OKLCHoklch(60.99% 0.186 323.2)
XYZxyz(32.1984, 20.1824, 53.2281)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B654C2 #60C254
analogous
#7F54C2 #B654C2 #C25497
triadic
#B654C2 #C2B654 #54C2B6
tetradic
#B654C2 #C27F54 #60C254 #5497C2
square
#B654C2 #C27F54 #60C254 #5497C2
split-complementary
#B654C2 #97C254 #54C27F
monochromatic
#6B2973 #9539A0 #B654C2 #C981D2 #DDAEE2

Accessibility & contrast

On white

4.17
#B654C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B654C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B654C2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B654C2#FFFFFF#000000##000000
##B654C21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b654c2;
/* rgb */ color: rgb(182, 84, 194);
/* oklch */ color: oklch(61.0% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#ce89d5',
    500: '#b654c2',
    950: '#000000',
  },
}
SCSS
$custom: #b654c2;
$custom-light: #ce89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b654c2",
  "rgb": {
    "r": 182,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 293.455,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.18598,
    "h": 323.2
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#B654C2
secondary
#A7D0A2
accent
#D7515F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B654C2

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

Preview Lab → · Contrast checker → · Palette generator →

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