#B335BB#B335BB

#B335BB is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.219 H 325.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B335BB
RGBrgb(179, 53, 187)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 73%)
CMYKcmyk(4.3%, 71.7%, 0%, 26.7%)
CIE-LABlab(46.60, 66.11, -44.82)
CIE-LCHlch(46.60, 79.87, 325.86°)
OKLaboklab(56.84% 0.1806 -0.1247)
OKLCHoklch(56.84% 0.219 325.4)
XYZxyz(28.8325, 15.7196, 48.5196)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335BB #3DBB35
analogous
#7035BB #B335BB #BB3580
triadic
#B335BB #BBB335 #35BBB3
tetradic
#B335BB #BB7035 #3DBB35 #3580BB
square
#B335BB #BB7035 #3DBB35 #3580BB
split-complementary
#B335BB #80BB35 #35BB70
monochromatic
#581A5C #85278B #B335BB #CA5CD1 #D98CDE

Accessibility & contrast

On white

5.07
#B335BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B335BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335BB#FFFFFF#000000##FFFFFF
##B335BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#B74B75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b335bb;
/* rgb */ color: rgb(179, 53, 187);
/* oklch */ color: oklch(56.8% 0.219 325.4);
Tailwind
colors: {
  custom: {
    50: '#cd78d0',
    500: '#b335bb',
    950: '#000000',
  },
}
SCSS
$custom: #b335bb;
$custom-light: #cd78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b335bb",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 296.418,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.21945,
    "h": 325.4
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#B335BB
secondary
#87C983
accent
#DF4952
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B335BB

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

Preview Lab → · Contrast checker → · Palette generator →

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