#B348BA#B348BA

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

Color values

HEX#B348BA
RGBrgb(179, 72, 186)
HSLhsl(296, 45%, 51%)
HSVhsv(296, 61%, 73%)
CMYKcmyk(3.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(49.21, 58.48, -40.11)
CIE-LCHlch(49.21, 70.91, 325.56°)
OKLaboklab(58.71% 0.1599 -0.1111)
OKLCHoklch(58.71% 0.195 325.2)
XYZxyz(29.7700, 17.7654, 48.3059)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348BA #4FBA48
analogous
#7A48BA #B348BA #BA4888
triadic
#B348BA #BAB348 #48BAB3
tetradic
#B348BA #BA7A48 #4FBA48 #4888BA
square
#B348BA #BA7A48 #4FBA48 #4888BA
split-complementary
#B348BA #88BA48 #48BA7A
monochromatic
#5F2562 #89368F #B348BA #C574CB #D8A1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B348BA#FFFFFF#000000##FFFFFF
##B348BA1.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)
#366CBD
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#B7587A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b348ba;
/* rgb */ color: rgb(179, 72, 186);
/* oklch */ color: oklch(58.7% 0.195 325.2);
Tailwind
colors: {
  custom: {
    50: '#cd82cf',
    500: '#b348ba',
    950: '#000000',
  },
}
SCSS
$custom: #b348ba;
$custom-light: #cd82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b348ba",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 296.316,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.19469,
    "h": 325.2
  },
  "luminance": 0.17764
}

Semantic roles & 50–950 ramp

primary
#B348BA
secondary
#99C896
accent
#D5535B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B348BA

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

Preview Lab → · Contrast checker → · Palette generator →

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