#B051E5#B051E5

#B051E5 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.222 H 311.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B051E5
RGBrgb(176, 81, 229)
HSLhsl(279, 74%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(23.1%, 64.6%, 0%, 10.2%)
CIE-LABlab(52.70, 62.22, -59.18)
CIE-LCHlch(52.70, 85.87, 316.43°)
OKLaboklab(61.93% 0.1457 -0.1669)
OKLCHoklch(61.93% 0.222 311.1)
XYZxyz(34.9871, 20.7729, 76.2800)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051E5 #86E551
analogous
#6651E5 #B051E5 #E551D0
triadic
#B051E5 #E5B051 #51E5B0
tetradic
#B051E5 #E56651 #86E551 #51D0E5
square
#B051E5 #E56651 #86E551 #51D0E5
split-complementary
#B051E5 #D0E551 #51E566
monochromatic
#7118A3 #9720D8 #B051E5 #C886ED #E0BBF5

Accessibility & contrast

On white

4.07
#B051E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B051E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051E5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051E5#FFFFFF#000000##000000
##B051E51.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#4080E2
Tritanopia (blue-blind)
#A96F94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b051e5;
/* rgb */ color: rgb(176, 81, 229);
/* oklch */ color: oklch(61.9% 0.222 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc88ee',
    500: '#b051e5',
    950: '#000000',
  },
}
SCSS
$custom: #b051e5;
$custom-light: #cc88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b051e5",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 278.514,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.22154,
    "h": 311.1
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#B051E5
secondary
#C1E5AD
accent
#D60F57
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051E5

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

Preview Lab → · Contrast checker → · Palette generator →

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