#B348D8#B348D8

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

Color values

HEX#B348D8
RGBrgb(179, 72, 216)
HSLhsl(285, 65%, 56%)
HSVhsv(285, 67%, 85%)
CMYKcmyk(17.1%, 66.7%, 0%, 15.3%)
CIE-LABlab(50.89, 64.15, -54.69)
CIE-LCHlch(50.89, 84.30, 319.55°)
OKLaboklab(60.46% 0.16 -0.1536)
OKLCHoklch(60.46% 0.222 316.2)
XYZxyz(33.3005, 19.1776, 66.8999)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348D8 #6DD848
analogous
#6B48D8 #B348D8 #D848B5
triadic
#B348D8 #D8B348 #48D8B3
tetradic
#B348D8 #D86B48 #6DD848 #48B5D8
square
#B348D8 #D86B48 #6DD848 #48B5D8
split-complementary
#B348D8 #B5D848 #48D86B
monochromatic
#6D1D89 #9528BB #B348D8 #C87AE3 #DDADEE

Accessibility & contrast

On white

4.34
#B348D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B348D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348D8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348D8#FFFFFF#000000##000000
##B348D81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#487CD5
Tritanopia (blue-blind)
#B1648A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b348d8;
/* rgb */ color: rgb(179, 72, 216);
/* oklch */ color: oklch(60.5% 0.222 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd83e5',
    500: '#b348d8',
    950: '#000000',
  },
}
SCSS
$custom: #b348d8;
$custom-light: #cd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b348d8",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 284.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.22177,
    "h": 316.2
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#B348D8
secondary
#B0DBA0
accent
#E8406B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348D8

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

Preview Lab → · Contrast checker → · Palette generator →

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