#B348D4#B348D4

#B348D4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.218 H 317.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B348D4
RGBrgb(179, 72, 212)
HSLhsl(286, 62%, 56%)
HSVhsv(286, 66%, 83%)
CMYKcmyk(15.6%, 66%, 0%, 16.9%)
CIE-LABlab(50.66, 63.36, -52.79)
CIE-LCHlch(50.66, 82.47, 320.20°)
OKLaboklab(60.22% 0.1601 -0.1481)
OKLCHoklch(60.22% 0.218 317.2)
XYZxyz(32.7897, 18.9732, 64.2096)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348D4 #69D448
analogous
#6D48D4 #B348D4 #D448AF
triadic
#B348D4 #D4B348 #48D4B3
tetradic
#B348D4 #D46D48 #69D448 #48AFD4
square
#B348D4 #D46D48 #69D448 #48AFD4
split-complementary
#B348D4 #AFD448 #48D46D
monochromatic
#6B1F83 #942AB4 #B348D4 #C87AE0 #DCABEB

Accessibility & contrast

On white

4.38
#B348D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B348D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348D4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348D4#FFFFFF#000000##000000
##B348D41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0772D8
Deuteranopia (green-blind)
#4B7CD1
Tritanopia (blue-blind)
#B26288
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b348d4;
/* rgb */ color: rgb(179, 72, 212);
/* oklch */ color: oklch(60.2% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#cd83e2',
    500: '#b348d4',
    950: '#000000',
  },
}
SCSS
$custom: #b348d4;
$custom-light: #cd83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b348d4",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 285.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.21809,
    "h": 317.2
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#B348D4
secondary
#ADD99F
accent
#E54369
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B348D4

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

Preview Lab → · Contrast checker → · Palette generator →

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