#B348DC#B348DC

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

Color values

HEX#B348DC
RGBrgb(179, 72, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 67%, 86%)
CMYKcmyk(18.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(51.14, 64.94, -56.58)
CIE-LCHlch(51.14, 86.13, 318.94°)
OKLaboklab(60.72% 0.1597 -0.1591)
OKLCHoklch(60.72% 0.225 315.1)
XYZxyz(33.8240, 19.3869, 69.6566)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348DC #71DC48
analogous
#6948DC #B348DC #DC48BB
triadic
#B348DC #DCB348 #48DCB3
tetradic
#B348DC #DC6948 #71DC48 #48BBDC
square
#B348DC #DC6948 #71DC48 #48BBDC
split-complementary
#B348DC #BBDC48 #48DC69
monochromatic
#6E1B8E #9625C2 #B348DC #C87BE6 #DEAFF0

Accessibility & contrast

On white

4.31
#B348DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B348DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348DC#FFFFFF#000000##000000
##B348DC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#B0658D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b348dc;
/* rgb */ color: rgb(179, 72, 220);
/* oklch */ color: oklch(60.7% 0.225 315.1);
Tailwind
colors: {
  custom: {
    50: '#ce83e8',
    500: '#b348dc',
    950: '#000000',
  },
}
SCSS
$custom: #b348dc;
$custom-light: #ce83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b348dc",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 283.378,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60716,
    "c": 0.22546,
    "h": 315.1
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#B348DC
secondary
#B3DEA2
accent
#EB3D6D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348DC

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

Preview Lab → · Contrast checker → · Palette generator →

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