#B151CF#B151CF

#B151CF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.200 H 317.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B151CF
RGBrgb(177, 81, 207)
HSLhsl(286, 57%, 56%)
HSVhsv(286, 61%, 81%)
CMYKcmyk(14.5%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.54, 57.92, -48.54)
CIE-LCHlch(51.54, 75.57, 320.04°)
OKLaboklab(60.71% 0.1474 -0.1357)
OKLCHoklch(60.71% 0.2 317.4)
XYZxyz(32.3348, 19.7382, 61.1260)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151CF #6FCF51
analogous
#7251CF #B151CF #CF51AE
triadic
#B151CF #CFB151 #51CFB1
tetradic
#B151CF #CF7251 #6FCF51 #51AECF
square
#B151CF #CF7251 #6FCF51 #51AECF
split-complementary
#B151CF #AECF51 #51CF72
monochromatic
#6B2482 #9331B2 #B151CF #C781DC #DCB1E9

Accessibility & contrast

On white

4.24
#B151CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B151CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151CF#FFFFFF#000000##000000
##B151CF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#B06689
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b151cf;
/* rgb */ color: rgb(177, 81, 207);
/* oklch */ color: oklch(60.7% 0.200 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb87de',
    500: '#b151cf',
    950: '#000000',
  },
}
SCSS
$custom: #b151cf;
$custom-light: #cb87de;
$custom-dark: #000000;
JSON
{
  "hex": "#b151cf",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 285.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.20035,
    "h": 317.4
  },
  "luminance": 0.19737
}

Semantic roles & 50–950 ramp

primary
#B151CF
secondary
#B0D8A4
accent
#E0486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B151CF

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

Preview Lab → · Contrast checker → · Palette generator →

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