#B051E1#B051E1

#B051E1 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.218 H 312.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B051E1
RGBrgb(176, 81, 225)
HSLhsl(280, 71%, 60%)
HSVhsv(280, 64%, 88%)
CMYKcmyk(21.8%, 64%, 0%, 11.8%)
CIE-LABlab(52.46, 61.38, -57.32)
CIE-LCHlch(52.46, 83.98, 316.96°)
OKLaboklab(61.68% 0.1459 -0.1614)
OKLCHoklch(61.68% 0.218 312.1)
XYZxyz(34.4351, 20.5521, 73.3725)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051E1 #82E151
analogous
#6851E1 #B051E1 #E151CA
triadic
#B051E1 #E1B051 #51E1B0
tetradic
#B051E1 #E16851 #82E151 #51CAE1
square
#B051E1 #E16851 #82E151 #51CAE1
split-complementary
#B051E1 #CAE151 #51E168
monochromatic
#701B9D #9624D1 #B051E1 #C885EA #DFB9F3

Accessibility & contrast

On white

4.11
#B051E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B051E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051E1#FFFFFF#000000##000000
##B051E11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#447FDE
Tritanopia (blue-blind)
#AA6D92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b051e1;
/* rgb */ color: rgb(176, 81, 225);
/* oklch */ color: oklch(61.7% 0.218 312.1);
Tailwind
colors: {
  custom: {
    50: '#cb88eb',
    500: '#b051e1',
    950: '#000000',
  },
}
SCSS
$custom: #b051e1;
$custom-light: #cb88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b051e1",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 279.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.21758,
    "h": 312.1
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#B051E1
secondary
#BEE3AB
accent
#ED3A77
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051E1

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

Preview Lab → · Contrast checker → · Palette generator →

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