#B348D9#B348D9

#B348D9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.223 H 315.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B348D9
RGBrgb(179, 72, 217)
HSLhsl(284, 66%, 57%)
HSVhsv(284, 67%, 85%)
CMYKcmyk(17.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(50.95, 64.35, -55.17)
CIE-LCHlch(50.95, 84.76, 319.39°)
OKLaboklab(60.53% 0.1599 -0.155)
OKLCHoklch(60.53% 0.223 315.9)
XYZxyz(33.4302, 19.2294, 67.5829)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348D9 #6ED948
analogous
#6B48D9 #B348D9 #D948B7
triadic
#B348D9 #D9B348 #48D9B3
tetradic
#B348D9 #D96B48 #6ED948 #48B7D9
square
#B348D9 #D96B48 #6ED948 #48B7D9
split-complementary
#B348D9 #B7D948 #48D96B
monochromatic
#6D1D8A #9527BD #B348D9 #C87BE4 #DDADEE

Accessibility & contrast

On white

4.33
#B348D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B348D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348D9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348D9#FFFFFF#000000##000000
##B348D91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#477CD6
Tritanopia (blue-blind)
#B1648B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b348d9;
/* rgb */ color: rgb(179, 72, 217);
/* oklch */ color: oklch(60.5% 0.223 315.9);
Tailwind
colors: {
  custom: {
    50: '#ce83e5',
    500: '#b348d9',
    950: '#000000',
  },
}
SCSS
$custom: #b348d9;
$custom-light: #ce83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b348d9",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 284.276,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.22269,
    "h": 315.9
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#B348D9
secondary
#B0DCA1
accent
#E93F6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348D9

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

Preview Lab → · Contrast checker → · Palette generator →

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