#B04FD4#B04FD4

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

Color values

HEX#B04FD4
RGBrgb(176, 79, 212)
HSLhsl(284, 61%, 57%)
HSVhsv(284, 63%, 83%)
CMYKcmyk(17%, 62.7%, 0%, 16.9%)
CIE-LABlab(51.36, 59.61, -51.70)
CIE-LCHlch(51.36, 78.90, 319.07°)
OKLaboklab(60.64% 0.1485 -0.145)
OKLCHoklch(60.64% 0.208 315.7)
XYZxyz(32.5823, 19.5767, 64.3369)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD4 #73D44F
analogous
#6D4FD4 #B04FD4 #D44FB6
triadic
#B04FD4 #D4B04F #4FD4B0
tetradic
#B04FD4 #D46D4F #73D44F #4FB6D4
square
#B04FD4 #D46D4F #73D44F #4FB6D4
split-complementary
#B04FD4 #B6D44F #4FD46D
monochromatic
#6C2187 #932DB9 #B04FD4 #C680E0 #DCB1EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04FD4#FFFFFF#000000##000000
##B04FD41.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)
#1F75D8
Deuteranopia (green-blind)
#4E7DD1
Tritanopia (blue-blind)
#AE678B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04fd4;
/* rgb */ color: rgb(176, 79, 212);
/* oklch */ color: oklch(60.6% 0.208 315.7);
Tailwind
colors: {
  custom: {
    50: '#cb86e2',
    500: '#b04fd4',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd4;
$custom-light: #cb86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd4",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 283.759,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.20758,
    "h": 315.7
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#B04FD4
secondary
#B3DAA4
accent
#E4446F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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