#B051E7#B051E7

#B051E7 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.224 H 310.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B051E7
RGBrgb(176, 81, 231)
HSLhsl(278, 76%, 61%)
HSVhsv(278, 65%, 91%)
CMYKcmyk(23.8%, 64.9%, 0%, 9.4%)
CIE-LABlab(52.82, 62.64, -60.11)
CIE-LCHlch(52.82, 86.81, 316.18°)
OKLaboklab(62.06% 0.1455 -0.1696)
OKLCHoklch(62.06% 0.224 310.6)
XYZxyz(35.2680, 20.8853, 77.7592)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051E7 #88E751
analogous
#6551E7 #B051E7 #E751D3
triadic
#B051E7 #E7B051 #51E7B0
tetradic
#B051E7 #E76551 #88E751 #51D3E7
square
#B051E7 #E76551 #88E751 #51D3E7
split-complementary
#B051E7 #D3E751 #51E765
monochromatic
#7217A7 #971EDC #B051E7 #C887EE #E1BDF6

Accessibility & contrast

On white

4.06
#B051E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B051E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051E7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051E7#FFFFFF#000000##000000
##B051E71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#3E80E4
Tritanopia (blue-blind)
#A97095
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b051e7;
/* rgb */ color: rgb(176, 81, 231);
/* oklch */ color: oklch(62.1% 0.224 310.6);
Tailwind
colors: {
  custom: {
    50: '#cc88ef',
    500: '#b051e7',
    950: '#000000',
  },
}
SCSS
$custom: #b051e7;
$custom-light: #cc88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b051e7",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 278,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6206,
    "c": 0.22351,
    "h": 310.6
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#B051E7
secondary
#C2E6AE
accent
#D80E58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B051E7

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

Preview Lab → · Contrast checker → · Palette generator →

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