#B04EAF#B04EAF

#B04EAF is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.174 H 327.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B04EAF
RGBrgb(176, 78, 175)
HSLhsl(301, 39%, 50%)
HSVhsv(301, 56%, 69%)
CMYKcmyk(0%, 55.7%, 0.6%, 31%)
CIE-LABlab(49.22, 53.00, -33.69)
CIE-LCHlch(49.22, 62.81, 327.56°)
OKLaboklab(58.45% 0.1478 -0.0927)
OKLCHoklch(58.45% 0.174 327.9)
XYZxyz(28.3663, 17.7758, 42.4861)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04EAF #4EB04F
analogous
#804EB0 #B04EAF #B04E7E
triadic
#B04EAF #AFB04E #4EAFB0
tetradic
#B04EAF #B0804E #4EB04F #4E7EB0
square
#B04EAF #B0804E #4EB04F #4E7EB0
split-complementary
#B04EAF #7EB04E #4EB080
monochromatic
#5B285B #863B85 #B04EAF #C378C2 #D6A2D5

Accessibility & contrast

On white

4.61
#B04EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B04EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04EAF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04EAF#FFFFFF#000000##FFFFFF
##B04EAF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#B55977
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b04eaf;
/* rgb */ color: rgb(176, 78, 175);
/* oklch */ color: oklch(58.4% 0.174 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca85c7',
    500: '#b04eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b04eaf;
$custom-light: #ca85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04eaf",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 300.612,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.17449,
    "h": 327.9
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#B04EAF
secondary
#97C397
accent
#CF5A59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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