#B04CAF#B04CAF

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

Color values

HEX#B04CAF
RGBrgb(176, 76, 175)
HSLhsl(301, 40%, 49%)
HSVhsv(301, 57%, 69%)
CMYKcmyk(0%, 56.8%, 0.6%, 31%)
CIE-LABlab(48.88, 53.94, -34.23)
CIE-LCHlch(48.88, 63.88, 327.60°)
OKLaboklab(58.19% 0.1505 -0.0942)
OKLCHoklch(58.19% 0.178 327.9)
XYZxyz(28.2264, 17.4959, 42.4394)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CAF #4CB04D
analogous
#7F4CB0 #B04CAF #B04C7D
triadic
#B04CAF #AFB04C #4CAFB0
tetradic
#B04CAF #B07F4C #4CB04D #4C7DB0
square
#B04CAF #B07F4C #4CB04D #4C7DB0
split-complementary
#B04CAF #7DB04C #4CB07F
monochromatic
#5B275A #853A85 #B04CAF #C476C3 #D6A0D6

Accessibility & contrast

On white

4.67
#B04CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B04CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B04CAF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CAF#FFFFFF#000000##FFFFFF
##B04CAF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#B55876
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b04caf;
/* rgb */ color: rgb(176, 76, 175);
/* oklch */ color: oklch(58.2% 0.178 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca83c7',
    500: '#b04caf',
    950: '#000000',
  },
}
SCSS
$custom: #b04caf;
$custom-light: #ca83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b04caf",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 300.6,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.17754,
    "h": 327.9
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#B04CAF
secondary
#95C395
accent
#D05958
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B04CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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