#B04FD9#B04FD9

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

Color values

HEX#B04FD9
RGBrgb(176, 79, 217)
HSLhsl(282, 64%, 58%)
HSVhsv(282, 64%, 85%)
CMYKcmyk(18.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(51.65, 60.63, -54.08)
CIE-LCHlch(51.65, 81.24, 318.27°)
OKLaboklab(60.94% 0.1485 -0.1519)
OKLCHoklch(60.94% 0.212 314.3)
XYZxyz(33.2228, 19.8329, 67.7102)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FD9 #78D94F
analogous
#6B4FD9 #B04FD9 #D94FBD
triadic
#B04FD9 #D9B04F #4FD9B0
tetradic
#B04FD9 #D96B4F #78D94F #4FBDD9
square
#B04FD9 #D96B4F #78D94F #4FBDD9
split-complementary
#B04FD9 #BDD94F #4FD96B
monochromatic
#6E1F8F #942AC1 #B04FD9 #C781E4 #DDB4EF

Accessibility & contrast

On white

4.23
#B04FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B04FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FD9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FD9#FFFFFF#000000##000000
##B04FD91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1276DD
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#AC698D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04fd9;
/* rgb */ color: rgb(176, 79, 217);
/* oklch */ color: oklch(60.9% 0.212 314.3);
Tailwind
colors: {
  custom: {
    50: '#cb86e5',
    500: '#b04fd9',
    950: '#000000',
  },
}
SCSS
$custom: #b04fd9;
$custom-light: #cb86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fd9",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 282.174,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.21243,
    "h": 314.3
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#B04FD9
secondary
#B7DDA6
accent
#E74072
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B04FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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