#B04BE8#B04BE8

#B04BE8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.4% C 0.232 H 310.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B04BE8
RGBrgb(176, 75, 232)
HSLhsl(279, 77%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(24.1%, 67.7%, 0%, 9%)
CIE-LABlab(51.94, 65.49, -62.10)
CIE-LCHlch(51.94, 90.25, 316.52°)
OKLaboklab(61.45% 0.1519 -0.1754)
OKLCHoklch(61.45% 0.232 310.9)
XYZxyz(34.9833, 20.0893, 78.3630)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE8 #83E84B
analogous
#624BE8 #B04BE8 #E84BD1
triadic
#B04BE8 #E8B04B #4BE8B0
tetradic
#B04BE8 #E8624B #83E84B #4BD1E8
square
#B04BE8 #E8624B #83E84B #4BD1E8
split-complementary
#B04BE8 #D1E84B #4BE862
monochromatic
#7115A4 #961CDA #B04BE8 #C881EF #E0B8F6

Accessibility & contrast

On white

4.19
#B04BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B04BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE8#FFFFFF#000000##000000
##B04BE81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#A96C94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04be8;
/* rgb */ color: rgb(176, 75, 232);
/* oklch */ color: oklch(61.4% 0.232 310.9);
Tailwind
colors: {
  custom: {
    50: '#cc85f0',
    500: '#b04be8',
    950: '#000000',
  },
}
SCSS
$custom: #b04be8;
$custom-light: #cc85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be8",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 278.599,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.23206,
    "h": 310.9
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#B04BE8
secondary
#BFE6A9
accent
#DA0C55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B04BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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