#B335A5#B335A5

#B335A5 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.202 H 332.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B335A5
RGBrgb(179, 53, 165)
HSLhsl(307, 54%, 45%)
HSVhsv(307, 70%, 70%)
CMYKcmyk(0%, 70.4%, 7.8%, 29.8%)
CIE-LABlab(45.43, 62.51, -33.72)
CIE-LCHlch(45.43, 71.03, 331.65°)
OKLaboklab(55.62% 0.18 -0.0925)
OKLCHoklch(55.62% 0.202 332.8)
XYZxyz(26.6551, 14.8487, 37.0522)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335A5 #35B343
analogous
#8235B3 #B335A5 #B33566
triadic
#B335A5 #A5B335 #35A5B3
tetradic
#B335A5 #B38235 #35B343 #3566B3
square
#B335A5 #B38235 #35B343 #3566B3
split-complementary
#B335A5 #66B335 #35B382
monochromatic
#55194E #842779 #B335A5 #CD58C0 #DB87D2

Accessibility & contrast

On white

5.29
#B335A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B335A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335A5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335A5#FFFFFF#000000##FFFFFF
##B335A51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#BB4169
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b335a5;
/* rgb */ color: rgb(179, 53, 165);
/* oklch */ color: oklch(55.6% 0.202 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd78c0',
    500: '#b335a5',
    950: '#000000',
  },
}
SCSS
$custom: #b335a5;
$custom-light: #cd78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b335a5",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 306.667,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.20241,
    "h": 332.8
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#B335A5
secondary
#7FC586
accent
#DE5B4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B335A5

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

Preview Lab → · Contrast checker → · Palette generator →

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