#B04DE5#B04DE5

#B04DE5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.227 H 311.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B04DE5
RGBrgb(176, 77, 229)
HSLhsl(279, 75%, 60%)
HSVhsv(279, 66%, 90%)
CMYKcmyk(23.1%, 66.4%, 0%, 10.2%)
CIE-LABlab(52.06, 64.00, -60.21)
CIE-LCHlch(52.06, 87.87, 316.75°)
OKLaboklab(61.47% 0.15 -0.1699)
OKLCHoklch(61.47% 0.227 311.4)
XYZxyz(34.6986, 20.1959, 76.1839)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04DE5 #82E54D
analogous
#644DE5 #B04DE5 #E54DCE
triadic
#B04DE5 #E5B04D #4DE5B0
tetradic
#B04DE5 #E5644D #82E54D #4DCEE5
square
#B04DE5 #E5644D #82E54D #4DCEE5
split-complementary
#B04DE5 #CEE54D #4DE564
monochromatic
#7117A0 #961FD6 #B04DE5 #C882ED #DFB8F5

Accessibility & contrast

On white

4.17
#B04DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B04DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04DE5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04DE5#FFFFFF#000000##000000
##B04DE51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#A96C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04de5;
/* rgb */ color: rgb(176, 77, 229);
/* oklch */ color: oklch(61.5% 0.227 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc86ee',
    500: '#b04de5',
    950: '#000000',
  },
}
SCSS
$custom: #b04de5;
$custom-light: #cc86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b04de5",
  "rgb": {
    "r": 176,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 279.079,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.22668,
    "h": 311.4
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#B04DE5
secondary
#BEE4AA
accent
#F13778
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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