#B348D2#B348D2

#B348D2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.216 H 317.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B348D2
RGBrgb(179, 72, 210)
HSLhsl(287, 61%, 55%)
HSVhsv(287, 66%, 82%)
CMYKcmyk(14.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(50.54, 62.98, -51.84)
CIE-LCHlch(50.54, 81.57, 320.54°)
OKLaboklab(60.09% 0.1602 -0.1453)
OKLCHoklch(60.09% 0.216 317.8)
XYZxyz(32.5390, 18.8729, 62.8891)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348D2 #67D248
analogous
#6E48D2 #B348D2 #D248AC
triadic
#B348D2 #D2B348 #48D2B3
tetradic
#B348D2 #D26E48 #67D248 #48ACD2
square
#B348D2 #D26E48 #67D248 #48ACD2
split-complementary
#B348D2 #ACD248 #48D26E
monochromatic
#6A2080 #932CB1 #B348D2 #C779DE #DCAAEA

Accessibility & contrast

On white

4.40
#B348D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B348D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348D2#FFFFFF#000000##000000
##B348D21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D6
Deuteranopia (green-blind)
#4D7CCF
Tritanopia (blue-blind)
#B26187
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b348d2;
/* rgb */ color: rgb(179, 72, 210);
/* oklch */ color: oklch(60.1% 0.216 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd83e0',
    500: '#b348d2',
    950: '#000000',
  },
}
SCSS
$custom: #b348d2;
$custom-light: #cd83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b348d2",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 286.522,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.21626,
    "h": 317.8
  },
  "luminance": 0.18872
}

Semantic roles & 50–950 ramp

primary
#B348D2
secondary
#ABD89E
accent
#E44468
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B348D2

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

Preview Lab → · Contrast checker → · Palette generator →

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