#B335A0#B335A0

#B335A0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.4% C 0.199 H 334.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B335A0
RGBrgb(179, 53, 160)
HSLhsl(309, 54%, 45%)
HSVhsv(309, 70%, 70%)
CMYKcmyk(0%, 70.4%, 10.6%, 29.8%)
CIE-LABlab(45.18, 61.74, -31.13)
CIE-LCHlch(45.18, 69.14, 333.24°)
OKLaboklab(55.36% 0.1796 -0.0851)
OKLCHoklch(55.36% 0.199 334.7)
XYZxyz(26.2089, 14.6702, 34.7022)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335A0 #35B348
analogous
#8735B3 #B335A0 #B33561
triadic
#B335A0 #A0B335 #35A0B3
tetradic
#B335A0 #B38735 #35B348 #3561B3
square
#B335A0 #B38735 #35B348 #3561B3
split-complementary
#B335A0 #61B335 #35B387
monochromatic
#55194C #842776 #B335A0 #CD58BC #DB87CF

Accessibility & contrast

On white

5.34
#B335A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B335A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335A0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335A0#FFFFFF#000000##FFFFFF
##B335A01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#BC3F66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b335a0;
/* rgb */ color: rgb(179, 53, 160);
/* oklch */ color: oklch(55.4% 0.199 334.7);
Tailwind
colors: {
  custom: {
    50: '#cd77bc',
    500: '#b335a0',
    950: '#000000',
  },
}
SCSS
$custom: #b335a0;
$custom-light: #cd77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b335a0",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 309.048,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.19874,
    "h": 334.7
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#B335A0
secondary
#7FC589
accent
#DE604A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B335A0

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

Preview Lab → · Contrast checker → · Palette generator →

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