#B04BE3#B04BE3

#B04BE3 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.227 H 312.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B04BE3
RGBrgb(176, 75, 227)
HSLhsl(280, 73%, 59%)
HSVhsv(280, 67%, 89%)
CMYKcmyk(22.5%, 67%, 0%, 11%)
CIE-LABlab(51.62, 64.45, -59.79)
CIE-LCHlch(51.62, 87.91, 317.15°)
OKLaboklab(61.12% 0.1523 -0.1687)
OKLCHoklch(61.12% 0.227 312.1)
XYZxyz(34.2832, 19.8092, 74.6757)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE3 #7EE34B
analogous
#644BE3 #B04BE3 #E34BCA
triadic
#B04BE3 #E3B04B #4BE3B0
tetradic
#B04BE3 #E3644B #7EE34B #4BCAE3
square
#B04BE3 #E3644B #7EE34B #4BCAE3
split-complementary
#B04BE3 #CAE34B #4BE364
monochromatic
#6F189B #9520D0 #B04BE3 #C780EB #DEB5F3

Accessibility & contrast

On white

4.23
#B04BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B04BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE3#FFFFFF#000000##000000
##B04BE31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#3C7DE0
Tritanopia (blue-blind)
#AA6A91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04be3;
/* rgb */ color: rgb(176, 75, 227);
/* oklch */ color: oklch(61.1% 0.227 312.1);
Tailwind
colors: {
  custom: {
    50: '#cc84ed',
    500: '#b04be3',
    950: '#000000',
  },
}
SCSS
$custom: #b04be3;
$custom-light: #cc84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be3",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 279.868,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.22728,
    "h": 312.1
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#B04BE3
secondary
#BBE3A7
accent
#F03876
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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