#B334C0#B334C0

#B334C0 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.225 H 323.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B334C0
RGBrgb(179, 52, 192)
HSLhsl(294, 57%, 48%)
HSVhsv(294, 73%, 75%)
CMYKcmyk(6.8%, 72.9%, 0%, 24.7%)
CIE-LABlab(46.77, 67.31, -47.47)
CIE-LCHlch(46.77, 82.37, 324.81°)
OKLaboklab(57.06% 0.1814 -0.1324)
OKLCHoklch(57.06% 0.225 323.9)
XYZxyz(29.3320, 15.8473, 51.3728)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334C0 #41C034
analogous
#6D34C0 #B334C0 #C03487
triadic
#B334C0 #C0B334 #34C0B3
tetradic
#B334C0 #C06D34 #41C034 #3487C0
square
#B334C0 #C06D34 #41C034 #3487C0
split-complementary
#B334C0 #87C034 #34C06D
monochromatic
#591A60 #862790 #B334C0 #C85ED3 #D98EE0

Accessibility & contrast

On white

5.04
#B334C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B334C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334C0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334C0#FFFFFF#000000##FFFFFF
##B334C01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#B64D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b334c0;
/* rgb */ color: rgb(179, 52, 192);
/* oklch */ color: oklch(57.1% 0.225 323.9);
Tailwind
colors: {
  custom: {
    50: '#ce78d4',
    500: '#b334c0',
    950: '#000000',
  },
}
SCSS
$custom: #b334c0;
$custom-light: #ce78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b334c0",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 294.429,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.22454,
    "h": 323.9
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#B334C0
secondary
#8BCB85
accent
#E14755
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B334C0

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

Preview Lab → · Contrast checker → · Palette generator →

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