#B348AA#B348AA

#B348AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.181 H 331.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B348AA
RGBrgb(179, 72, 170)
HSLhsl(305, 43%, 49%)
HSVhsv(305, 60%, 70%)
CMYKcmyk(0%, 59.8%, 5%, 29.8%)
CIE-LABlab(48.41, 55.69, -31.99)
CIE-LCHlch(48.41, 64.23, 330.12°)
OKLaboklab(57.87% 0.1584 -0.0877)
OKLCHoklch(57.87% 0.181 331)
XYZxyz(28.1633, 17.1227, 39.8441)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348AA #48B351
analogous
#8748B3 #B348AA #B34875
triadic
#B348AA #AAB348 #48AAB3
tetradic
#B348AA #B38748 #48B351 #4875B3
square
#B348AA #B38748 #48B351 #4875B3
split-complementary
#B348AA #75B348 #48B387
monochromatic
#5C2557 #873681 #B348AA #C672BF #D89ED3

Accessibility & contrast

On white

4.75
#B348AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B348AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348AA#FFFFFF#000000##FFFFFF
##B348AA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#BA5272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b348aa;
/* rgb */ color: rgb(179, 72, 170);
/* oklch */ color: oklch(57.9% 0.181 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd81c3',
    500: '#b348aa',
    950: '#000000',
  },
}
SCSS
$custom: #b348aa;
$custom-light: #cd81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b348aa",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 305.047,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.18108,
    "h": 331
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#B348AA
secondary
#92C497
accent
#D26055
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B348AA

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

Preview Lab → · Contrast checker → · Palette generator →

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