#B04FD8#B04FD8

#B04FD8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.211 H 314.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B04FD8
RGBrgb(176, 79, 216)
HSLhsl(282, 64%, 58%)
HSVhsv(282, 63%, 85%)
CMYKcmyk(18.5%, 63.4%, 0%, 15.3%)
CIE-LABlab(51.59, 60.42, -53.60)
CIE-LCHlch(51.59, 80.77, 318.42°)
OKLaboklab(60.88% 0.1485 -0.1506)
OKLCHoklch(60.88% 0.211 314.6)
XYZxyz(33.0931, 19.7810, 67.0273)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD8 #77D84F
analogous
#6C4FD8 #B04FD8 #D84FBB
triadic
#B04FD8 #D8B04F #4FD8B0
tetradic
#B04FD8 #D86C4F #77D84F #4FBBD8
square
#B04FD8 #D86C4F #77D84F #4FBBD8
split-complementary
#B04FD8 #BBD84F #4FD86C
monochromatic
#6D1F8D #942ABF #B04FD8 #C681E3 #DDB3EE

Accessibility & contrast

On white

4.24
#B04FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B04FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD8#FFFFFF#000000##000000
##B04FD81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1575DC
Deuteranopia (green-blind)
#4B7DD5
Tritanopia (blue-blind)
#AD698D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04fd8;
/* rgb */ color: rgb(176, 79, 216);
/* oklch */ color: oklch(60.9% 0.211 314.6);
Tailwind
colors: {
  custom: {
    50: '#cb86e5',
    500: '#b04fd8',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd8;
$custom-light: #cb86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd8",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 282.482,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.21145,
    "h": 314.6
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#B04FD8
secondary
#B6DDA6
accent
#E74171
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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