#B654CF#B654CF

#B654CF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.198 H 319.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B654CF
RGBrgb(182, 84, 207)
HSLhsl(288, 56%, 57%)
HSVhsv(288, 59%, 81%)
CMYKcmyk(12.1%, 59.4%, 0%, 18.8%)
CIE-LABlab(52.72, 57.76, -46.62)
CIE-LCHlch(52.72, 74.22, 321.09°)
OKLaboklab(61.71% 0.1497 -0.13)
OKLCHoklch(61.71% 0.198 319)
XYZxyz(33.7227, 20.7922, 61.2563)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B654CF #6DCF54
analogous
#7954CF #B654CF #CF54AA
triadic
#B654CF #CFB654 #54CFB6
tetradic
#B654CF #CF7954 #6DCF54 #54AACF
square
#B654CF #CF7954 #6DCF54 #54AACF
split-complementary
#B654CF #AACF54 #54CF79
monochromatic
#702584 #9932B3 #B654CF #CA84DC #DFB4EA

Accessibility & contrast

On white

4.07
#B654CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B654CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B654CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B654CF#FFFFFF#000000##000000
##B654CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#B6688A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b654cf;
/* rgb */ color: rgb(182, 84, 207);
/* oklch */ color: oklch(61.7% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#cf89de',
    500: '#b654cf',
    950: '#000000',
  },
}
SCSS
$custom: #b654cf;
$custom-light: #cf89de;
$custom-dark: #000000;
JSON
{
  "hex": "#b654cf",
  "rgb": {
    "r": 182,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 287.805,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.19826,
    "h": 319
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#B654CF
secondary
#B1D8A6
accent
#DF4867
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B654CF

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

Preview Lab → · Contrast checker → · Palette generator →

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