#B348B1#B348B1

#B348B1 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.187 H 328.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B348B1
RGBrgb(179, 72, 177)
HSLhsl(301, 43%, 49%)
HSVhsv(301, 60%, 70%)
CMYKcmyk(0%, 59.8%, 1.1%, 29.8%)
CIE-LABlab(48.75, 56.89, -35.57)
CIE-LCHlch(48.75, 67.10, 327.98°)
OKLaboklab(58.23% 0.1592 -0.098)
OKLCHoklch(58.23% 0.187 328.4)
XYZxyz(28.8432, 17.3946, 43.4247)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348B1 #48B34A
analogous
#7F48B3 #B348B1 #B3487C
triadic
#B348B1 #B1B348 #48B1B3
tetradic
#B348B1 #B37F48 #48B34A #487CB3
square
#B348B1 #B37F48 #48B34A #487CB3
split-complementary
#B348B1 #7CB348 #48B37F
monochromatic
#5C255B #873686 #B348B1 #C672C5 #D89ED7

Accessibility & contrast

On white

4.69
#B348B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B348B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B348B1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348B1#FFFFFF#000000##FFFFFF
##B348B11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#B95576
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b348b1;
/* rgb */ color: rgb(179, 72, 177);
/* oklch */ color: oklch(58.2% 0.187 328.4);
Tailwind
colors: {
  custom: {
    50: '#cd82c8',
    500: '#b348b1',
    950: '#000000',
  },
}
SCSS
$custom: #b348b1;
$custom-light: #cd82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b348b1",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 301.121,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.18693,
    "h": 328.4
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#B348B1
secondary
#92C493
accent
#D25855
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B348B1

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

Preview Lab → · Contrast checker → · Palette generator →

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