#B04FAA#B04FAA

#B04FAA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.169 H 329.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B04FAA
RGBrgb(176, 79, 170)
HSLhsl(304, 38%, 50%)
HSVhsv(304, 55%, 69%)
CMYKcmyk(0%, 55.1%, 3.4%, 31%)
CIE-LABlab(49.16, 51.65, -30.86)
CIE-LCHlch(49.16, 60.16, 329.14°)
OKLaboklab(58.33% 0.1458 -0.0845)
OKLCHoklch(58.33% 0.169 329.9)
XYZxyz(27.9559, 17.7261, 39.9714)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FAA #4FB055
analogous
#854FB0 #B04FAA #B04F7A
triadic
#B04FAA #AAB04F #4FAAB0
tetradic
#B04FAA #B0854F #4FB055 #4F7AB0
square
#B04FAA #B0854F #4FB055 #4F7AB0
split-complementary
#B04FAA #7AB04F #4FB085
monochromatic
#5C2958 #863C81 #B04FAA #C379BE #D6A3D3

Accessibility & contrast

On white

4.62
#B04FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B04FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04FAA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FAA#FFFFFF#000000##FFFFFF
##B04FAA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496CAD
Deuteranopia (green-blind)
#677AA7
Tritanopia (blue-blind)
#B65875
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04faa;
/* rgb */ color: rgb(176, 79, 170);
/* oklch */ color: oklch(58.3% 0.169 329.9);
Tailwind
colors: {
  custom: {
    50: '#ca85c3',
    500: '#b04faa',
    950: '#000000',
  },
}
SCSS
$custom: #b04faa;
$custom-light: #ca85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b04faa",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 303.711,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.16857,
    "h": 329.9
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#B04FAA
secondary
#98C39A
accent
#CE615A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B04FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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