#B051CE#B051CE

#B051CE is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.199 H 317.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B051CE
RGBrgb(176, 81, 206)
HSLhsl(286, 56%, 56%)
HSVhsv(286, 61%, 81%)
CMYKcmyk(14.6%, 60.7%, 0%, 19.2%)
CIE-LABlab(51.35, 57.48, -48.28)
CIE-LCHlch(51.35, 75.07, 319.97°)
OKLaboklab(60.52% 0.1461 -0.135)
OKLCHoklch(60.52% 0.199 317.3)
XYZxyz(31.9859, 19.5724, 60.4735)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051CE #6FCE51
analogous
#7251CE #B051CE #CE51AE
triadic
#B051CE #CEB051 #51CEB0
tetradic
#B051CE #CE7251 #6FCE51 #51AECE
square
#B051CE #CE7251 #6FCE51 #51AECE
split-complementary
#B051CE #AECE51 #51CE72
monochromatic
#6A2480 #9232B0 #B051CE #C681DB #DBB1E9

Accessibility & contrast

On white

4.27
#B051CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B051CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051CE#FFFFFF#000000##000000
##B051CE1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#AF6688
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b051ce;
/* rgb */ color: rgb(176, 81, 206);
/* oklch */ color: oklch(60.5% 0.199 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb87dd',
    500: '#b051ce',
    950: '#000000',
  },
}
SCSS
$custom: #b051ce;
$custom-light: #cb87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b051ce",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 285.6,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.19896,
    "h": 317.3
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B051CE

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

Preview Lab → · Contrast checker → · Palette generator →

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