#B348E5#B348E5

#B348E5 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.234 H 312.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B348E5
RGBrgb(179, 72, 229)
HSLhsl(281, 75%, 59%)
HSVhsv(281, 69%, 90%)
CMYKcmyk(21.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(51.70, 66.75, -60.77)
CIE-LCHlch(51.70, 90.27, 317.68°)
OKLaboklab(61.3% 0.159 -0.1714)
OKLCHoklch(61.3% 0.234 312.8)
XYZxyz(35.0481, 19.8766, 76.1039)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348E5 #7AE548
analogous
#6548E5 #B348E5 #E548C9
triadic
#B348E5 #E5B348 #48E5B3
tetradic
#B348E5 #E56548 #7AE548 #48C9E5
square
#B348E5 #E56548 #7AE548 #48C9E5
split-complementary
#B348E5 #C9E548 #48E565
monochromatic
#72169C #991ED2 #B348E5 #C97EED #E0B3F4

Accessibility & contrast

On white

4.22
#B348E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B348E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348E5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348E5#FFFFFF#000000##000000
##B348E51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#3A7EE1
Tritanopia (blue-blind)
#AE6991
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b348e5;
/* rgb */ color: rgb(179, 72, 229);
/* oklch */ color: oklch(61.3% 0.234 312.8);
Tailwind
colors: {
  custom: {
    50: '#ce83ee',
    500: '#b348e5',
    950: '#000000',
  },
}
SCSS
$custom: #b348e5;
$custom-light: #ce83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b348e5",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 280.892,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61296,
    "c": 0.23383,
    "h": 312.8
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#B348E5
secondary
#B9E3A6
accent
#F23672
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348E5

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

Preview Lab → · Contrast checker → · Palette generator →

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