#B04BE9#B04BE9

#B04BE9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.233 H 310.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B04BE9
RGBrgb(176, 75, 233)
HSLhsl(278, 78%, 60%)
HSVhsv(278, 68%, 91%)
CMYKcmyk(24.5%, 67.8%, 0%, 8.6%)
CIE-LABlab(52.00, 65.70, -62.56)
CIE-LCHlch(52.00, 90.72, 316.40°)
OKLaboklab(61.51% 0.1518 -0.1768)
OKLCHoklch(61.51% 0.233 310.6)
XYZxyz(35.1257, 20.1462, 79.1132)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE9 #84E94B
analogous
#614BE9 #B04BE9 #E94BD3
triadic
#B04BE9 #E9B04B #4BE9B0
tetradic
#B04BE9 #E9614B #84E94B #4BD3E9
square
#B04BE9 #E9614B #84E94B #4BD3E9
split-complementary
#B04BE9 #D3E94B #4BE961
monochromatic
#7114A5 #961BDC #B04BE9 #C882F0 #E0B8F6

Accessibility & contrast

On white

4.18
#B04BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B04BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE9#FFFFFF#000000##000000
##B04BE91.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#347EE5
Tritanopia (blue-blind)
#A86D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04be9;
/* rgb */ color: rgb(176, 75, 233);
/* oklch */ color: oklch(61.5% 0.233 310.6);
Tailwind
colors: {
  custom: {
    50: '#cc85f1',
    500: '#b04be9',
    950: '#000000',
  },
}
SCSS
$custom: #b04be9;
$custom-light: #cc85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be9",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 278.354,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61511,
    "c": 0.23301,
    "h": 310.6
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#B04BE9
secondary
#BFE6AA
accent
#DA0B56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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