#B334B0#B334B0

#B334B0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.212 H 329.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B334B0
RGBrgb(179, 52, 176)
HSLhsl(301, 55%, 45%)
HSVhsv(301, 71%, 70%)
CMYKcmyk(0%, 70.9%, 1.7%, 29.8%)
CIE-LABlab(45.87, 64.62, -39.53)
CIE-LCHlch(45.87, 75.75, 328.55°)
OKLaboklab(56.13% 0.1816 -0.1093)
OKLCHoklch(56.13% 0.212 329)
XYZxyz(27.6546, 15.1763, 42.5386)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334B0 #34B337
analogous
#7634B3 #B334B0 #B33471
triadic
#B334B0 #B0B334 #34B0B3
tetradic
#B334B0 #B37634 #34B337 #3471B3
square
#B334B0 #B37634 #34B337 #3471B3
split-complementary
#B334B0 #71B334 #34B376
monochromatic
#541853 #842681 #B334B0 #CE56CB #DC86DA

Accessibility & contrast

On white

5.20
#B334B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B334B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334B0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334B0#FFFFFF#000000##FFFFFF
##B334B01.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B3
Deuteranopia (green-blind)
#5773AD
Tritanopia (blue-blind)
#B9466F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b334b0;
/* rgb */ color: rgb(179, 52, 176);
/* oklch */ color: oklch(56.1% 0.212 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c8',
    500: '#b334b0',
    950: '#000000',
  },
}
SCSS
$custom: #b334b0;
$custom-light: #cd78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b334b0",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 301.417,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.21191,
    "h": 329
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#B334B0
secondary
#7DC57F
accent
#DE4D49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B334B0

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

Preview Lab → · Contrast checker → · Palette generator →

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