#B348E0#B348E0

#B348E0 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.229 H 314.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B348E0
RGBrgb(179, 72, 224)
HSLhsl(282, 71%, 58%)
HSVhsv(282, 68%, 88%)
CMYKcmyk(20.1%, 67.9%, 0%, 12.2%)
CIE-LABlab(51.38, 65.74, -58.45)
CIE-LCHlch(51.38, 87.97, 318.36°)
OKLaboklab(60.97% 0.1594 -0.1646)
OKLCHoklch(60.97% 0.229 314.1)
XYZxyz(34.3600, 19.6014, 72.4800)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348E0 #75E048
analogous
#6748E0 #B348E0 #E048C1
triadic
#B348E0 #E0B348 #48E0B3
tetradic
#B348E0 #E06748 #75E048 #48C1E0
square
#B348E0 #E06748 #75E048 #48C1E0
split-complementary
#B348E0 #C1E048 #48E067
monochromatic
#701994 #9722C9 #B348E0 #C97CE9 #DEB1F2

Accessibility & contrast

On white

4.27
#B348E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B348E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348E0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348E0#FFFFFF#000000##000000
##B348E01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#AF678F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b348e0;
/* rgb */ color: rgb(179, 72, 224);
/* oklch */ color: oklch(61.0% 0.229 314.1);
Tailwind
colors: {
  custom: {
    50: '#ce83ea',
    500: '#b348e0',
    950: '#000000',
  },
}
SCSS
$custom: #b348e0;
$custom-light: #ce83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b348e0",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 282.237,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.22917,
    "h": 314.1
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#B348E0
secondary
#B6E0A4
accent
#EE3A6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348E0

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

Preview Lab → · Contrast checker → · Palette generator →

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