#B04BE5#B04BE5

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

Color values

HEX#B04BE5
RGBrgb(176, 75, 229)
HSLhsl(279, 75%, 60%)
HSVhsv(279, 67%, 90%)
CMYKcmyk(23.1%, 67.2%, 0%, 10.2%)
CIE-LABlab(51.75, 64.86, -60.71)
CIE-LCHlch(51.75, 88.85, 316.89°)
OKLaboklab(61.25% 0.1522 -0.1714)
OKLCHoklch(61.25% 0.229 311.6)
XYZxyz(34.5608, 19.9203, 76.1379)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE5 #80E54B
analogous
#634BE5 #B04BE5 #E54BCD
triadic
#B04BE5 #E5B04B #4BE5B0
tetradic
#B04BE5 #E5634B #80E54B #4BCDE5
square
#B04BE5 #E5634B #80E54B #4BCDE5
split-complementary
#B04BE5 #CDE54B #4BE563
monochromatic
#70179F #961FD4 #B04BE5 #C780ED #DFB6F4

Accessibility & contrast

On white

4.21
#B04BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B04BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE5#FFFFFF#000000##000000
##B04BE51.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#397DE2
Tritanopia (blue-blind)
#AA6B92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04be5;
/* rgb */ color: rgb(176, 75, 229);
/* oklch */ color: oklch(61.2% 0.229 311.6);
Tailwind
colors: {
  custom: {
    50: '#cc84ee',
    500: '#b04be5',
    950: '#000000',
  },
}
SCSS
$custom: #b04be5;
$custom-light: #cc84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be5",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 279.351,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.22918,
    "h": 311.6
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#B04BE5
secondary
#BDE4A8
accent
#F13677
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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