#B151CE#B151CE

#B151CE is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.199 H 317.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B151CE
RGBrgb(177, 81, 206)
HSLhsl(286, 56%, 56%)
HSVhsv(286, 61%, 81%)
CMYKcmyk(14.1%, 60.7%, 0%, 19.2%)
CIE-LABlab(51.48, 57.72, -48.06)
CIE-LCHlch(51.48, 75.11, 320.22°)
OKLaboklab(60.65% 0.1473 -0.1343)
OKLCHoklch(60.65% 0.199 317.6)
XYZxyz(32.2129, 19.6895, 60.4842)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151CE #6ECE51
analogous
#7351CE #B151CE #CE51AD
triadic
#B151CE #CEB151 #51CEB1
tetradic
#B151CE #CE7351 #6ECE51 #51ADCE
square
#B151CE #CE7351 #6ECE51 #51ADCE
split-complementary
#B151CE #ADCE51 #51CE73
monochromatic
#6B2480 #9332B0 #B151CE #C681DB #DCB1E9

Accessibility & contrast

On white

4.25
#B151CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B151CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151CE#FFFFFF#000000##000000
##B151CE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#B06688
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b151ce;
/* rgb */ color: rgb(177, 81, 206);
/* oklch */ color: oklch(60.6% 0.199 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb87dd',
    500: '#b151ce',
    950: '#000000',
  },
}
SCSS
$custom: #b151ce;
$custom-light: #cb87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b151ce",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 286.08,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.19938,
    "h": 317.6
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#B151CE
secondary
#B0D7A4
accent
#DF486B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B151CE

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

Preview Lab → · Contrast checker → · Palette generator →

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