#B046EB#B046EB

#B046EB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.1% C 0.241 H 310.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B046EB
RGBrgb(176, 70, 235)
HSLhsl(279, 80%, 60%)
HSVhsv(279, 70%, 92%)
CMYKcmyk(25.1%, 70.2%, 0%, 7.8%)
CIE-LABlab(51.39, 68.19, -64.66)
CIE-LCHlch(51.39, 93.98, 316.52°)
OKLaboklab(61.12% 0.1566 -0.183)
OKLCHoklch(61.12% 0.241 310.6)
XYZxyz(35.0872, 19.6094, 80.5178)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B046EB #81EB46
analogous
#5D46EB #B046EB #EB46D4
triadic
#B046EB #EBB046 #46EBB0
tetradic
#B046EB #EB5D46 #81EB46 #46D4EB
square
#B046EB #EB5D46 #81EB46 #46D4EB
split-complementary
#B046EB #D4EB46 #46EB5D
monochromatic
#7012A5 #9618DC #B046EB #C87DF1 #DFB4F7

Accessibility & contrast

On white

4.27
#B046EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B046EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B046EB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B046EB#FFFFFF#000000##000000
##B046EB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#A86B94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b046eb;
/* rgb */ color: rgb(176, 70, 235);
/* oklch */ color: oklch(61.1% 0.241 310.6);
Tailwind
colors: {
  custom: {
    50: '#cc82f2',
    500: '#b046eb',
    950: '#000000',
  },
}
SCSS
$custom: #b046eb;
$custom-light: #cc82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b046eb",
  "rgb": {
    "r": 176,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 278.545,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.24083,
    "h": 310.6
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#B046EB
secondary
#BDE6A7
accent
#F73178
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B046EB

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

Preview Lab → · Contrast checker → · Palette generator →

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