#B334B3#B334B3

#B334B3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.214 H 328.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B334B3
RGBrgb(179, 52, 179)
HSLhsl(300, 55%, 45%)
HSVhsv(300, 71%, 70%)
CMYKcmyk(0%, 70.9%, 0%, 29.8%)
CIE-LABlab(46.04, 65.11, -41.04)
CIE-LCHlch(46.04, 76.96, 327.78°)
OKLaboklab(56.29% 0.1816 -0.1136)
OKLCHoklch(56.29% 0.214 328)
XYZxyz(27.9547, 15.2964, 44.1192)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334B3 #34B334
analogous
#7334B3 #B334B3 #B33473
triadic
#B334B3 #B3B334 #34B3B3
tetradic
#B334B3 #B37334 #34B334 #3473B3
square
#B334B3 #B37334 #34B334 #3473B3
split-complementary
#B334B3 #73B334 #34B373
monochromatic
#541854 #842684 #B334B3 #CE56CE #DC86DC

Accessibility & contrast

On white

5.17
#B334B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B334B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334B3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334B3#FFFFFF#000000##FFFFFF
##B334B31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B7
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#B94770
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b334b3;
/* rgb */ color: rgb(179, 52, 179);
/* oklch */ color: oklch(56.3% 0.214 328.0);
Tailwind
colors: {
  custom: {
    50: '#cd78ca',
    500: '#b334b3',
    950: '#000000',
  },
}
SCSS
$custom: #b334b3;
$custom-light: #cd78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b334b3",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.21424,
    "h": 328
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#B334B3
secondary
#7DC57D
accent
#DE4949
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B334B3

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

Preview Lab → · Contrast checker → · Palette generator →

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