#B335BD#B335BD

#B335BD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.221 H 324.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B335BD
RGBrgb(179, 53, 189)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 74%)
CMYKcmyk(5.3%, 72%, 0%, 25.9%)
CIE-LABlab(46.72, 66.45, -45.81)
CIE-LCHlch(46.72, 80.71, 325.42°)
OKLaboklab(56.96% 0.1805 -0.1275)
OKLCHoklch(56.96% 0.221 324.8)
XYZxyz(29.0481, 15.8059, 49.6551)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335BD #3FBD35
analogous
#6F35BD #B335BD #BD3583
triadic
#B335BD #BDB335 #35BDB3
tetradic
#B335BD #BD6F35 #3FBD35 #3583BD
square
#B335BD #BD6F35 #3FBD35 #3583BD
split-complementary
#B335BD #83BD35 #35BD6F
monochromatic
#581A5D #86288D #B335BD #C95DD2 #D98DDF

Accessibility & contrast

On white

5.05
#B335BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B335BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335BD#FFFFFF#000000##FFFFFF
##B335BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C1
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#B74C76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b335bd;
/* rgb */ color: rgb(179, 53, 189);
/* oklch */ color: oklch(57.0% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#ce79d1',
    500: '#b335bd',
    950: '#000000',
  },
}
SCSS
$custom: #b335bd;
$custom-light: #ce79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b335bd",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 295.588,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.22105,
    "h": 324.8
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#B335BD
secondary
#89CA84
accent
#DF4853
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B335BD

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

Preview Lab → · Contrast checker → · Palette generator →

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