#B335A3#B335A3

#B335A3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.5% C 0.201 H 333.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B335A3
RGBrgb(179, 53, 163)
HSLhsl(308, 54%, 45%)
HSVhsv(308, 70%, 70%)
CMYKcmyk(0%, 70.4%, 8.9%, 29.8%)
CIE-LABlab(45.33, 62.20, -32.69)
CIE-LCHlch(45.33, 70.27, 332.27°)
OKLaboklab(55.51% 0.1799 -0.0895)
OKLCHoklch(55.51% 0.201 333.5)
XYZxyz(26.4745, 14.7765, 36.1010)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335A3 #35B345
analogous
#8435B3 #B335A3 #B33564
triadic
#B335A3 #A3B335 #35A3B3
tetradic
#B335A3 #B38435 #35B345 #3564B3
square
#B335A3 #B38435 #35B345 #3564B3
split-complementary
#B335A3 #64B335 #35B384
monochromatic
#55194D #842778 #B335A3 #CD58BF #DB87D1

Accessibility & contrast

On white

5.31
#B335A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B335A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335A3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335A3#FFFFFF#000000##FFFFFF
##B335A31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#BB4068
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b335a3;
/* rgb */ color: rgb(179, 53, 163);
/* oklch */ color: oklch(55.5% 0.201 333.5);
Tailwind
colors: {
  custom: {
    50: '#cd78be',
    500: '#b335a3',
    950: '#000000',
  },
}
SCSS
$custom: #b335a3;
$custom-light: #cd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#b335a3",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 307.619,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.20094,
    "h": 333.5
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#B335A3
secondary
#7FC587
accent
#DE5D4A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B335A3

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

Preview Lab → · Contrast checker → · Palette generator →

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