#B348E1#B348E1

#B348E1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.230 H 313.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B348E1
RGBrgb(179, 72, 225)
HSLhsl(282, 72%, 58%)
HSVhsv(282, 68%, 88%)
CMYKcmyk(20.4%, 68%, 0%, 11.8%)
CIE-LABlab(51.45, 65.94, -58.92)
CIE-LCHlch(51.45, 88.43, 318.22°)
OKLaboklab(61.04% 0.1594 -0.166)
OKLCHoklch(61.04% 0.23 313.8)
XYZxyz(34.4961, 19.6558, 73.1964)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348E1 #76E148
analogous
#6648E1 #B348E1 #E148C2
triadic
#B348E1 #E1B348 #48E1B3
tetradic
#B348E1 #E16648 #76E148 #48C2E1
square
#B348E1 #E16648 #76E148 #48C2E1
split-complementary
#B348E1 #C2E148 #48E166
monochromatic
#701996 #9821CB #B348E1 #C97DEA #DFB1F2

Accessibility & contrast

On white

4.26
#B348E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B348E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348E1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348E1#FFFFFF#000000##000000
##B348E11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#3F7DDE
Tritanopia (blue-blind)
#AF678F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b348e1;
/* rgb */ color: rgb(179, 72, 225);
/* oklch */ color: oklch(61.0% 0.230 313.8);
Tailwind
colors: {
  custom: {
    50: '#ce83eb',
    500: '#b348e1',
    950: '#000000',
  },
}
SCSS
$custom: #b348e1;
$custom-light: #ce83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b348e1",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 281.961,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.23011,
    "h": 313.8
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#B348E1
secondary
#B6E1A4
accent
#EF3970
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B348E1

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

Preview Lab → · Contrast checker → · Palette generator →

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