#B348A2#B348A2

#B348A2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.175 H 334.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B348A2
RGBrgb(179, 72, 162)
HSLhsl(310, 43%, 49%)
HSVhsv(310, 60%, 70%)
CMYKcmyk(0%, 59.8%, 9.5%, 29.8%)
CIE-LABlab(48.04, 54.37, -27.85)
CIE-LCHlch(48.04, 61.08, 332.88°)
OKLaboklab(57.48% 0.1573 -0.0758)
OKLCHoklch(57.48% 0.175 334.3)
XYZxyz(27.4295, 16.8291, 35.9791)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348A2 #48B359
analogous
#8F48B3 #B348A2 #B3486D
triadic
#B348A2 #A2B348 #48A2B3
tetradic
#B348A2 #B38F48 #48B359 #486DB3
square
#B348A2 #B38F48 #48B359 #486DB3
split-complementary
#B348A2 #6DB348 #48B38F
monochromatic
#5C2553 #87367B #B348A2 #C672B9 #D89ECF

Accessibility & contrast

On white

4.81
#B348A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B348A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348A2#FFFFFF#000000##FFFFFF
##B348A21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#BB4F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b348a2;
/* rgb */ color: rgb(179, 72, 162);
/* oklch */ color: oklch(57.5% 0.175 334.3);
Tailwind
colors: {
  custom: {
    50: '#cc81be',
    500: '#b348a2',
    950: '#000000',
  },
}
SCSS
$custom: #b348a2;
$custom-light: #cc81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b348a2",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 309.533,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.17462,
    "h": 334.3
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#B348A2
secondary
#92C49A
accent
#D26955
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B348A2

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

Preview Lab → · Contrast checker → · Palette generator →

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