#B334C3#B334C3

#B334C3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.227 H 323.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B334C3
RGBrgb(179, 52, 195)
HSLhsl(293, 58%, 48%)
HSVhsv(293, 73%, 76%)
CMYKcmyk(8.2%, 73.3%, 0%, 23.5%)
CIE-LABlab(46.95, 67.83, -48.93)
CIE-LCHlch(46.95, 83.64, 324.20°)
OKLaboklab(57.24% 0.1812 -0.1366)
OKLCHoklch(57.24% 0.227 323)
XYZxyz(29.6678, 15.9816, 53.1413)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334C3 #44C334
analogous
#6B34C3 #B334C3 #C3348B
triadic
#B334C3 #C3B334 #34C3B3
tetradic
#B334C3 #C36B34 #44C334 #348BC3
square
#B334C3 #C36B34 #44C334 #348BC3
split-complementary
#B334C3 #8BC334 #34C36B
monochromatic
#5A1A62 #872793 #B334C3 #C760D5 #D890E1

Accessibility & contrast

On white

5.00
#B334C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B334C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334C3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334C3#FFFFFF#000000##FFFFFF
##B334C31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#B64E79
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b334c3;
/* rgb */ color: rgb(179, 52, 195);
/* oklch */ color: oklch(57.2% 0.227 323.0);
Tailwind
colors: {
  custom: {
    50: '#ce78d6',
    500: '#b334c3',
    950: '#000000',
  },
}
SCSS
$custom: #b334c3;
$custom-light: #ce78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b334c3",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 293.287,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.22695,
    "h": 323
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#B334C3
secondary
#8ECC87
accent
#E14758
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B334C3

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

Preview Lab → · Contrast checker → · Palette generator →

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