#B335A6#B335A6

#B335A6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.203 H 332.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B335A6
RGBrgb(179, 53, 166)
HSLhsl(306, 54%, 45%)
HSVhsv(306, 70%, 70%)
CMYKcmyk(0%, 70.4%, 7.3%, 29.8%)
CIE-LABlab(45.48, 62.67, -34.24)
CIE-LCHlch(45.48, 71.41, 331.35°)
OKLaboklab(55.67% 0.1801 -0.094)
OKLCHoklch(55.67% 0.203 332.4)
XYZxyz(26.7465, 14.8852, 37.5335)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335A6 #35B342
analogous
#8135B3 #B335A6 #B33567
triadic
#B335A6 #A6B335 #35A6B3
tetradic
#B335A6 #B38135 #35B342 #3567B3
square
#B335A6 #B38135 #35B342 #3567B3
split-complementary
#B335A6 #67B335 #35B381
monochromatic
#55194E #84277A #B335A6 #CD58C1 #DB87D3

Accessibility & contrast

On white

5.28
#B335A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B335A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335A6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335A6#FFFFFF#000000##FFFFFF
##B335A61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#BB4269
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b335a6;
/* rgb */ color: rgb(179, 53, 166);
/* oklch */ color: oklch(55.7% 0.203 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd78c1',
    500: '#b335a6',
    950: '#000000',
  },
}
SCSS
$custom: #b335a6;
$custom-light: #cd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b335a6",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 306.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.20315,
    "h": 332.4
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B335A6

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

Preview Lab → · Contrast checker → · Palette generator →

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