#B348E7#B348E7

#B348E7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.236 H 312.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B348E7
RGBrgb(179, 72, 231)
HSLhsl(280, 77%, 59%)
HSVhsv(280, 69%, 91%)
CMYKcmyk(22.5%, 68.8%, 0%, 9.4%)
CIE-LABlab(51.82, 67.15, -61.70)
CIE-LCHlch(51.82, 91.19, 317.43°)
OKLaboklab(61.43% 0.1588 -0.1742)
OKLCHoklch(61.43% 0.236 312.4)
XYZxyz(35.3290, 19.9889, 77.5830)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B348E7 #7CE748
analogous
#6348E7 #B348E7 #E748CC
triadic
#B348E7 #E7B348 #48E7B3
tetradic
#B348E7 #E76348 #7CE748 #48CCE7
square
#B348E7 #E76348 #7CE748 #48CCE7
split-complementary
#B348E7 #CCE748 #48E763
monochromatic
#7215A0 #991CD6 #B348E7 #C97EEE #E0B4F5

Accessibility & contrast

On white

4.20
#B348E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B348E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B348E7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B348E7#FFFFFF#000000##000000
##B348E71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#387EE3
Tritanopia (blue-blind)
#AD6A93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b348e7;
/* rgb */ color: rgb(179, 72, 231);
/* oklch */ color: oklch(61.4% 0.236 312.4);
Tailwind
colors: {
  custom: {
    50: '#ce83ef',
    500: '#b348e7',
    950: '#000000',
  },
}
SCSS
$custom: #b348e7;
$custom-light: #ce83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b348e7",
  "rgb": {
    "r": 179,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 280.377,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.23569,
    "h": 312.4
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#B348E7
secondary
#BBE4A6
accent
#F33473
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B348E7

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

Preview Lab → · Contrast checker → · Palette generator →

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