#B041EA#B041EA

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

Color values

HEX#B041EA
RGBrgb(176, 65, 234)
HSLhsl(279, 80%, 59%)
HSVhsv(279, 72%, 92%)
CMYKcmyk(24.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(50.63, 69.96, -65.33)
CIE-LCHlch(50.63, 95.72, 316.96°)
OKLaboklab(60.56% 0.1615 -0.1849)
OKLCHoklch(60.56% 0.245 311.1)
XYZxyz(34.6433, 18.9521, 79.6591)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B041EA #7BEA41
analogous
#5B41EA #B041EA #EA41D0
triadic
#B041EA #EAB041 #41EAB0
tetradic
#B041EA #EA5B41 #7BEA41 #41D0EA
square
#B041EA #EA5B41 #7BEA41 #41D0EA
split-complementary
#B041EA #D0EA41 #41EA5B
monochromatic
#6E129F #9518D6 #B041EA #C778F0 #DEAFF6

Accessibility & contrast

On white

4.38
#B041EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B041EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B041EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B041EA#FFFFFF#000000##000000
##B041EA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#247AE6
Tritanopia (blue-blind)
#A86792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b041ea;
/* rgb */ color: rgb(176, 65, 234);
/* oklch */ color: oklch(60.6% 0.245 311.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ff2',
    500: '#b041ea',
    950: '#000000',
  },
}
SCSS
$custom: #b041ea;
$custom-light: #cd7ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b041ea",
  "rgb": {
    "r": 176,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 279.408,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.24549,
    "h": 311.1
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#B041EA
secondary
#B9E5A2
accent
#F73175
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B041EA

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

Preview Lab → · Contrast checker → · Palette generator →

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