#B041EB#B041EB

#B041EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.6% C 0.246 H 310.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B041EB
RGBrgb(176, 65, 235)
HSLhsl(279, 81%, 59%)
HSVhsv(279, 72%, 92%)
CMYKcmyk(25.1%, 72.3%, 0%, 7.8%)
CIE-LABlab(50.70, 70.16, -65.79)
CIE-LCHlch(50.70, 96.18, 316.84°)
OKLaboklab(60.62% 0.1613 -0.1862)
OKLCHoklch(60.62% 0.246 310.9)
XYZxyz(34.7873, 19.0097, 80.4178)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041EB #7CEB41
analogous
#5B41EB #B041EB #EB41D1
triadic
#B041EB #EBB041 #41EBB0
tetradic
#B041EB #EB5B41 #7CEB41 #41D1EB
square
#B041EB #EB5B41 #7CEB41 #41D1EB
split-complementary
#B041EB #D1EB41 #41EB5B
monochromatic
#6F11A1 #9517D8 #B041EB #C778F1 #DEB0F7

Accessibility & contrast

On white

4.37
#B041EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B041EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B041EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041EB#FFFFFF#000000##000000
##B041EB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#217BE7
Tritanopia (blue-blind)
#A86893
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b041eb;
/* rgb */ color: rgb(176, 65, 235);
/* oklch */ color: oklch(60.6% 0.246 310.9);
Tailwind
colors: {
  custom: {
    50: '#cd80f2',
    500: '#b041eb',
    950: '#000000',
  },
}
SCSS
$custom: #b041eb;
$custom-light: #cd80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b041eb",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 235
  },
  "hsl": {
    "h": 279.176,
    "s": 80.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.24639,
    "h": 310.9
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#B041EB
secondary
#BAE5A2
accent
#F73075
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B041EB

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

Preview Lab → · Contrast checker → · Palette generator →

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