#B651CC#B651CC

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

Color values

HEX#B651CC
RGBrgb(182, 81, 204)
HSLhsl(289, 55%, 56%)
HSVhsv(289, 60%, 80%)
CMYKcmyk(10.8%, 60.3%, 0%, 20%)
CIE-LABlab(52.05, 58.56, -45.97)
CIE-LCHlch(52.05, 74.44, 321.87°)
OKLaboklab(61.17% 0.1532 -0.1281)
OKLCHoklch(61.17% 0.2 320.1)
XYZxyz(33.1316, 20.1911, 59.2671)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651CC #67CC51
analogous
#7851CC #B651CC #CC51A5
triadic
#B651CC #CCB651 #51CCB6
tetradic
#B651CC #CC7851 #67CC51 #51A5CC
square
#B651CC #CC7851 #67CC51 #51A5CC
split-complementary
#B651CC #A5CC51 #51CC78
monochromatic
#6E257E #9733AD #B651CC #CA80DA #DEB0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B651CC#FFFFFF#000000##000000
##B651CC1.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)
#3475D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B76587
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b651cc;
/* rgb */ color: rgb(182, 81, 204);
/* oklch */ color: oklch(61.2% 0.200 320.1);
Tailwind
colors: {
  custom: {
    50: '#cf88dc',
    500: '#b651cc',
    950: '#000000',
  },
}
SCSS
$custom: #b651cc;
$custom-light: #cf88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b651cc",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 289.268,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.19973,
    "h": 320.1
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#B651CC
secondary
#ACD6A3
accent
#DE4A64
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B651CC

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

Preview Lab → · Contrast checker → · Palette generator →

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