#B334BE#B334BE

#B334BE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.223 H 324.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B334BE
RGBrgb(179, 52, 190)
HSLhsl(295, 57%, 47%)
HSVhsv(295, 73%, 75%)
CMYKcmyk(5.8%, 72.6%, 0%, 25.5%)
CIE-LABlab(46.66, 66.97, -46.49)
CIE-LCHlch(46.66, 81.52, 325.23°)
OKLaboklab(56.94% 0.1815 -0.1295)
OKLCHoklch(56.94% 0.223 324.5)
XYZxyz(29.1119, 15.7592, 50.2137)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B334BE #3FBE34
analogous
#6E34BE #B334BE #BE3484
triadic
#B334BE #BEB334 #34BEB3
tetradic
#B334BE #BE6E34 #3FBE34 #3484BE
square
#B334BE #BE6E34 #3FBE34 #3484BE
split-complementary
#B334BE #84BE34 #34BE6E
monochromatic
#581A5E #86278E #B334BE #C95DD3 #D98DE0

Accessibility & contrast

On white

5.06
#B334BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B334BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B334BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B334BE#FFFFFF#000000##FFFFFF
##B334BE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B74C76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b334be;
/* rgb */ color: rgb(179, 52, 190);
/* oklch */ color: oklch(56.9% 0.223 324.5);
Tailwind
colors: {
  custom: {
    50: '#ce78d2',
    500: '#b334be',
    950: '#000000',
  },
}
SCSS
$custom: #b334be;
$custom-light: #ce78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b334be",
  "rgb": {
    "r": 179,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 295.217,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.22293,
    "h": 324.5
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#B334BE
secondary
#89CA84
accent
#E04854
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B334BE

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

Preview Lab → · Contrast checker → · Palette generator →

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