#B046E7#B046E7

#B046E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.8% C 0.237 H 311.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B046E7
RGBrgb(176, 70, 231)
HSLhsl(280, 77%, 59%)
HSVhsv(280, 70%, 91%)
CMYKcmyk(23.8%, 69.7%, 0%, 9.4%)
CIE-LABlab(51.13, 67.37, -62.84)
CIE-LCHlch(51.13, 92.13, 316.99°)
OKLaboklab(60.85% 0.1571 -0.1776)
OKLCHoklch(60.85% 0.237 311.5)
XYZxyz(34.5158, 19.3808, 77.5085)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B046E7 #7DE746
analogous
#6046E7 #B046E7 #E746CE
triadic
#B046E7 #E7B046 #46E7B0
tetradic
#B046E7 #E76046 #7DE746 #46CEE7
square
#B046E7 #E76046 #7DE746 #46CEE7
split-complementary
#B046E7 #CEE746 #46E760
monochromatic
#6F159E #951CD4 #B046E7 #C77CEE #DEB2F5

Accessibility & contrast

On white

4.31
#B046E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B046E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B046E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B046E7#FFFFFF#000000##000000
##B046E71.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#307CE3
Tritanopia (blue-blind)
#A96992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b046e7;
/* rgb */ color: rgb(176, 70, 231);
/* oklch */ color: oklch(60.8% 0.237 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc82ef',
    500: '#b046e7',
    950: '#000000',
  },
}
SCSS
$custom: #b046e7;
$custom-light: #cc82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b046e7",
  "rgb": {
    "r": 176,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 279.503,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.23709,
    "h": 311.5
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#B046E7
secondary
#BAE4A5
accent
#F43476
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B046E7

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

Preview Lab → · Contrast checker → · Palette generator →

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