#B348D1#B348D1

#B348D1 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.215 H 318.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B348D1
RGBrgb(179, 72, 209)
HSLhsl(287, 60%, 55%)
HSVhsv(287, 66%, 82%)
CMYKcmyk(14.4%, 65.6%, 0%, 18%)
CIE-LABlab(50.48, 62.78, -51.36)
CIE-LCHlch(50.48, 81.11, 320.71°)
OKLaboklab(60.03% 0.1602 -0.1439)
OKLCHoklch(60.03% 0.215 318.1)
XYZxyz(32.4148, 18.8233, 62.2350)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348D1 #66D148
analogous
#6E48D1 #B348D1 #D148AB
triadic
#B348D1 #D1B348 #48D1B3
tetradic
#B348D1 #D16E48 #66D148 #48ABD1
square
#B348D1 #D16E48 #66D148 #48ABD1
split-complementary
#B348D1 #ABD148 #48D16E
monochromatic
#6A207F #932CB0 #B348D1 #C779DD #DCAAEA

Accessibility & contrast

On white

4.41
#B348D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B348D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348D1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348D1#FFFFFF#000000##000000
##B348D11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1271D5
Deuteranopia (green-blind)
#4E7CCE
Tritanopia (blue-blind)
#B26187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b348d1;
/* rgb */ color: rgb(179, 72, 209);
/* oklch */ color: oklch(60.0% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd82e0',
    500: '#b348d1',
    950: '#000000',
  },
}
SCSS
$custom: #b348d1;
$custom-light: #cd82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b348d1",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 286.861,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.21534,
    "h": 318.1
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#B348D1
secondary
#AAD79E
accent
#E34567
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B348D1

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

Preview Lab → · Contrast checker → · Palette generator →

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