#B051E9#B051E9

#B051E9 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.225 H 310.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B051E9
RGBrgb(176, 81, 233)
HSLhsl(278, 78%, 62%)
HSVhsv(278, 65%, 91%)
CMYKcmyk(24.5%, 65.2%, 0%, 8.6%)
CIE-LABlab(52.95, 63.07, -61.03)
CIE-LCHlch(52.95, 87.76, 315.94°)
OKLaboklab(62.19% 0.1454 -0.1723)
OKLCHoklch(62.19% 0.225 310.2)
XYZxyz(35.5521, 20.9989, 79.2553)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051E9 #8AE951
analogous
#6451E9 #B051E9 #E951D6
triadic
#B051E9 #E9B051 #51E9B0
tetradic
#B051E9 #E96451 #8AE951 #51D6E9
square
#B051E9 #E96451 #8AE951 #51D6E9
split-complementary
#B051E9 #D6E951 #51E964
monochromatic
#7216AA #971CE0 #B051E9 #C987F0 #E1BEF7

Accessibility & contrast

On white

4.04
#B051E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B051E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051E9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051E9#FFFFFF#000000##000000
##B051E91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#3C80E6
Tritanopia (blue-blind)
#A87096
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b051e9;
/* rgb */ color: rgb(176, 81, 233);
/* oklch */ color: oklch(62.2% 0.225 310.2);
Tailwind
colors: {
  custom: {
    50: '#cc88f1',
    500: '#b051e9',
    950: '#000000',
  },
}
SCSS
$custom: #b051e9;
$custom-light: #cc88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b051e9",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 277.5,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.22549,
    "h": 310.2
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#B051E9
secondary
#C4E7AF
accent
#DA0C59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B051E9

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

Preview Lab → · Contrast checker → · Palette generator →

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