#B04BDF#B04BDF

#B04BDF is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.223 H 313.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B04BDF
RGBrgb(176, 75, 223)
HSLhsl(281, 70%, 58%)
HSVhsv(281, 66%, 87%)
CMYKcmyk(21.1%, 66.4%, 0%, 12.5%)
CIE-LABlab(51.37, 63.63, -57.92)
CIE-LCHlch(51.37, 86.04, 317.69°)
OKLaboklab(60.86% 0.1526 -0.1632)
OKLCHoklch(60.86% 0.223 313.1)
XYZxyz(33.7375, 19.5910, 71.8020)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BDF #7ADF4B
analogous
#664BDF #B04BDF #DF4BC4
triadic
#B04BDF #DFB04B #4BDFB0
tetradic
#B04BDF #DF664B #7ADF4B #4BC4DF
square
#B04BDF #DF664B #7ADF4B #4BC4DF
split-complementary
#B04BDF #C4DF4B #4BDF66
monochromatic
#6E1B95 #9524C9 #B04BDF #C77FE8 #DEB3F1

Accessibility & contrast

On white

4.27
#B04BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B04BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BDF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BDF#FFFFFF#000000##000000
##B04BDF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#407DDC
Tritanopia (blue-blind)
#AB698F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04bdf;
/* rgb */ color: rgb(176, 75, 223);
/* oklch */ color: oklch(60.9% 0.223 313.1);
Tailwind
colors: {
  custom: {
    50: '#cc84ea',
    500: '#b04bdf',
    950: '#000000',
  },
}
SCSS
$custom: #b04bdf;
$custom-light: #cc84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bdf",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 280.946,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.22344,
    "h": 313.1
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#B04BDF
secondary
#B8E0A6
accent
#ED3B74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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