#B04FD5#B04FD5

#B04FD5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.209 H 315.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B04FD5
RGBrgb(176, 79, 213)
HSLhsl(283, 61%, 57%)
HSVhsv(283, 63%, 84%)
CMYKcmyk(17.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(51.41, 59.81, -52.18)
CIE-LCHlch(51.41, 79.37, 318.90°)
OKLaboklab(60.7% 0.1485 -0.1464)
OKLCHoklch(60.7% 0.209 315.4)
XYZxyz(32.7088, 19.6273, 65.0033)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD5 #74D54F
analogous
#6D4FD5 #B04FD5 #D54FB7
triadic
#B04FD5 #D5B04F #4FD5B0
tetradic
#B04FD5 #D56D4F #74D54F #4FB7D5
square
#B04FD5 #D56D4F #74D54F #4FB7D5
split-complementary
#B04FD5 #B7D54F #4FD56D
monochromatic
#6C2189 #932CBA #B04FD5 #C680E1 #DCB2ED

Accessibility & contrast

On white

4.26
#B04FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B04FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD5#FFFFFF#000000##000000
##B04FD51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b04fd5;
/* rgb */ color: rgb(176, 79, 213);
/* oklch */ color: oklch(60.7% 0.209 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb86e2',
    500: '#b04fd5',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd5;
$custom-light: #cb86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd5",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 283.433,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60696,
    "c": 0.20855,
    "h": 315.4
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#B04FD5
secondary
#B4DBA5
accent
#E54370
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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