#B04BD7#B04BD7

#B04BD7 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.216 H 315.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B04BD7
RGBrgb(176, 75, 215)
HSLhsl(283, 64%, 57%)
HSVhsv(283, 65%, 84%)
CMYKcmyk(18.1%, 65.1%, 0%, 15.7%)
CIE-LABlab(50.89, 62.00, -54.16)
CIE-LCHlch(50.89, 82.32, 318.86°)
OKLaboklab(60.35% 0.1531 -0.1522)
OKLCHoklch(60.35% 0.216 315.2)
XYZxyz(32.6843, 19.1697, 66.2552)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BD7 #72D74B
analogous
#6A4BD7 #B04BD7 #D74BB8
triadic
#B04BD7 #D7B04B #4BD7B0
tetradic
#B04BD7 #D76A4B #72D74B #4BB8D7
square
#B04BD7 #D76A4B #72D74B #4BB8D7
split-complementary
#B04BD7 #B8D74B #4BD76A
monochromatic
#6B1E89 #932ABB #B04BD7 #C67DE2 #DCAFED

Accessibility & contrast

On white

4.34
#B04BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B04BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BD7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BD7#FFFFFF#000000##000000
##B04BD71.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#487CD4
Tritanopia (blue-blind)
#AD668B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04bd7;
/* rgb */ color: rgb(176, 75, 215);
/* oklch */ color: oklch(60.4% 0.216 315.2);
Tailwind
colors: {
  custom: {
    50: '#cb84e4',
    500: '#b04bd7',
    950: '#000000',
  },
}
SCSS
$custom: #b04bd7;
$custom-light: #cb84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bd7",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 283.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.21583,
    "h": 315.2
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#B04BD7
secondary
#B2DBA2
accent
#E7416F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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