#B04BE1#B04BE1

#B04BE1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.225 H 312.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B04BE1
RGBrgb(176, 75, 225)
HSLhsl(280, 71%, 59%)
HSVhsv(280, 67%, 88%)
CMYKcmyk(21.8%, 66.7%, 0%, 11.8%)
CIE-LABlab(51.50, 64.04, -58.86)
CIE-LCHlch(51.50, 86.98, 317.41°)
OKLaboklab(60.99% 0.1525 -0.1659)
OKLCHoklch(60.99% 0.225 312.6)
XYZxyz(34.0088, 19.6994, 73.2304)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BE1 #7CE14B
analogous
#654BE1 #B04BE1 #E14BC7
triadic
#B04BE1 #E1B04B #4BE1B0
tetradic
#B04BE1 #E1654B #7CE14B #4BC7E1
square
#B04BE1 #E1654B #7CE14B #4BC7E1
split-complementary
#B04BE1 #C7E14B #4BE165
monochromatic
#6F1998 #9522CD #B04BE1 #C77FEA #DEB4F2

Accessibility & contrast

On white

4.25
#B04BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B04BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BE1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BE1#FFFFFF#000000##000000
##B04BE11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3E7DDE
Tritanopia (blue-blind)
#AB6990
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04be1;
/* rgb */ color: rgb(176, 75, 225);
/* oklch */ color: oklch(61.0% 0.225 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc84eb',
    500: '#b04be1',
    950: '#000000',
  },
}
SCSS
$custom: #b04be1;
$custom-light: #cc84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04be1",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 280.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.22536,
    "h": 312.6
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#B04BE1
secondary
#BAE1A6
accent
#EE3A75
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B04BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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