#B04ED5#B04ED5

#B04ED5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.210 H 315.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B04ED5
RGBrgb(176, 78, 213)
HSLhsl(284, 62%, 57%)
HSVhsv(284, 63%, 84%)
CMYKcmyk(17.4%, 63.4%, 0%, 16.5%)
CIE-LABlab(51.25, 60.26, -52.44)
CIE-LCHlch(51.25, 79.88, 318.97°)
OKLaboklab(60.58% 0.1497 -0.1471)
OKLCHoklch(60.58% 0.21 315.5)
XYZxyz(32.6372, 19.4841, 64.9795)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ED5 #73D54E
analogous
#6D4ED5 #B04ED5 #D54EB6
triadic
#B04ED5 #D5B04E #4ED5B0
tetradic
#B04ED5 #D56D4E #73D54E #4EB6D5
square
#B04ED5 #D56D4E #73D54E #4EB6D5
split-complementary
#B04ED5 #B6D54E #4ED56D
monochromatic
#6C2088 #932CBA #B04ED5 #C67FE1 #DCB1EC

Accessibility & contrast

On white

4.29
#B04ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B04ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04ED5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ED5#FFFFFF#000000##000000
##B04ED51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1974D9
Deuteranopia (green-blind)
#4D7DD2
Tritanopia (blue-blind)
#AD678B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04ed5;
/* rgb */ color: rgb(176, 78, 213);
/* oklch */ color: oklch(60.6% 0.210 315.5);
Tailwind
colors: {
  custom: {
    50: '#cb86e2',
    500: '#b04ed5',
    950: '#000000',
  },
}
SCSS
$custom: #b04ed5;
$custom-light: #cb86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ed5",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 283.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.20991,
    "h": 315.5
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#B04ED5
secondary
#B3DBA4
accent
#E5436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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