#B051E4#B051E4

#B051E4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.221 H 311.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B051E4
RGBrgb(176, 81, 228)
HSLhsl(279, 73%, 61%)
HSVhsv(279, 64%, 89%)
CMYKcmyk(22.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(52.64, 62.01, -58.72)
CIE-LCHlch(52.64, 85.39, 316.56°)
OKLaboklab(61.87% 0.1457 -0.1656)
OKLCHoklch(61.87% 0.221 311.4)
XYZxyz(34.8479, 20.7172, 75.5468)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051E4 #85E451
analogous
#6751E4 #B051E4 #E451CE
triadic
#B051E4 #E4B051 #51E4B0
tetradic
#B051E4 #E46751 #85E451 #51CEE4
square
#B051E4 #E46751 #85E451 #51CEE4
split-complementary
#B051E4 #CEE451 #51E467
monochromatic
#7119A2 #9621D7 #B051E4 #C886EC #E0BBF4

Accessibility & contrast

On white

4.08
#B051E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B051E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051E4#FFFFFF#000000##000000
##B051E41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#AA6E94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b051e4;
/* rgb */ color: rgb(176, 81, 228);
/* oklch */ color: oklch(61.9% 0.221 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc88ed',
    500: '#b051e4',
    950: '#000000',
  },
}
SCSS
$custom: #b051e4;
$custom-light: #cc88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b051e4",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 278.776,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.22055,
    "h": 311.4
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#B051E4
secondary
#C0E4AC
accent
#D51056
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051E4

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

Preview Lab → · Contrast checker → · Palette generator →

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