#B348DB#B348DB

#B348DB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.225 H 315.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B348DB
RGBrgb(179, 72, 219)
HSLhsl(284, 67%, 57%)
HSVhsv(284, 67%, 86%)
CMYKcmyk(18.3%, 67.1%, 0%, 14.1%)
CIE-LABlab(51.08, 64.74, -56.11)
CIE-LCHlch(51.08, 85.67, 319.09°)
OKLaboklab(60.65% 0.1598 -0.1578)
OKLCHoklch(60.65% 0.225 315.4)
XYZxyz(33.6919, 19.3341, 68.9612)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348DB #70DB48
analogous
#6948DB #B348DB #DB48BA
triadic
#B348DB #DBB348 #48DBB3
tetradic
#B348DB #DB6948 #70DB48 #48BADB
square
#B348DB #DB6948 #70DB48 #48BADB
split-complementary
#B348DB #BADB48 #48DB69
monochromatic
#6E1C8D #9626C0 #B348DB #C87BE5 #DDAEEF

Accessibility & contrast

On white

4.32
#B348DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B348DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348DB#FFFFFF#000000##000000
##B348DB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#B0658C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b348db;
/* rgb */ color: rgb(179, 72, 219);
/* oklch */ color: oklch(60.7% 0.225 315.4);
Tailwind
colors: {
  custom: {
    50: '#ce83e7',
    500: '#b348db',
    950: '#000000',
  },
}
SCSS
$custom: #b348db;
$custom-light: #ce83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b348db",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 283.673,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60653,
    "c": 0.22455,
    "h": 315.4
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#B348DB
secondary
#B2DDA2
accent
#EA3E6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348DB

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

Preview Lab → · Contrast checker → · Palette generator →

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