#B04BE4#B04BE4

#B04BE4 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.228 H 311.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B04BE4
RGBrgb(176, 75, 228)
HSLhsl(280, 74%, 59%)
HSVhsv(280, 67%, 89%)
CMYKcmyk(22.8%, 67.1%, 0%, 10.6%)
CIE-LABlab(51.68, 64.66, -60.25)
CIE-LCHlch(51.68, 88.38, 317.02°)
OKLaboklab(61.18% 0.1523 -0.17)
OKLCHoklch(61.18% 0.228 311.8)
XYZxyz(34.4216, 19.8646, 75.4047)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE4 #7FE44B
analogous
#644BE4 #B04BE4 #E44BCB
triadic
#B04BE4 #E4B04B #4BE4B0
tetradic
#B04BE4 #E4644B #7FE44B #4BCBE4
square
#B04BE4 #E4644B #7FE44B #4BCBE4
split-complementary
#B04BE4 #CBE44B #4BE464
monochromatic
#70189D #9620D2 #B04BE4 #C780EC #DFB5F4

Accessibility & contrast

On white

4.22
#B04BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B04BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE4#FFFFFF#000000##000000
##B04BE41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#3B7DE1
Tritanopia (blue-blind)
#AA6B92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04be4;
/* rgb */ color: rgb(176, 75, 228);
/* oklch */ color: oklch(61.2% 0.228 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc84ed',
    500: '#b04be4',
    950: '#000000',
  },
}
SCSS
$custom: #b04be4;
$custom-light: #cc84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be4",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 279.608,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61182,
    "c": 0.22823,
    "h": 311.8
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#B04BE4
secondary
#BCE3A8
accent
#F13776
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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