#B335B5#B335B5

#B335B5 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.215 H 327.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B335B5
RGBrgb(179, 53, 181)
HSLhsl(299, 55%, 46%)
HSVhsv(299, 71%, 71%)
CMYKcmyk(1.1%, 70.7%, 0%, 29%)
CIE-LABlab(46.27, 65.10, -41.84)
CIE-LCHlch(46.27, 77.39, 327.27°)
OKLaboklab(56.5% 0.1807 -0.116)
OKLCHoklch(56.5% 0.215 327.3)
XYZxyz(28.2036, 15.4681, 45.2073)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335B5 #37B535
analogous
#7335B5 #B335B5 #B53577
triadic
#B335B5 #B5B335 #35B5B3
tetradic
#B335B5 #B57335 #37B535 #3577B5
square
#B335B5 #B57335 #37B535 #3577B5
split-complementary
#B335B5 #77B535 #35B573
monochromatic
#551956 #842786 #B335B5 #CD59CE #DB88DC

Accessibility & contrast

On white

5.13
#B335B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B335B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335B5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335B5#FFFFFF#000000##FFFFFF
##B335B51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#B84972
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b335b5;
/* rgb */ color: rgb(179, 53, 181);
/* oklch */ color: oklch(56.5% 0.215 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd78cc',
    500: '#b335b5',
    950: '#000000',
  },
}
SCSS
$custom: #b335b5;
$custom-light: #cd78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b335b5",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 299.063,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.21468,
    "h": 327.3
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#B335B5
secondary
#81C680
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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