#B335B0#B335B0

#B335B0 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.211 H 329.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B335B0
RGBrgb(179, 53, 176)
HSLhsl(301, 54%, 45%)
HSVhsv(301, 70%, 70%)
CMYKcmyk(0%, 70.4%, 1.7%, 29.8%)
CIE-LABlab(46.00, 64.27, -39.33)
CIE-LCHlch(46.00, 75.35, 328.53°)
OKLaboklab(56.21% 0.1806 -0.1087)
OKLCHoklch(56.21% 0.211 329)
XYZxyz(27.6997, 15.2665, 42.5537)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335B0 #35B338
analogous
#7735B3 #B335B0 #B33571
triadic
#B335B0 #B0B335 #35B0B3
tetradic
#B335B0 #B37735 #35B338 #3571B3
square
#B335B0 #B37735 #35B338 #3571B3
split-complementary
#B335B0 #71B335 #35B377
monochromatic
#551953 #842782 #B335B0 #CD58CB #DB87D9

Accessibility & contrast

On white

5.18
#B335B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B335B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335B0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335B0#FFFFFF#000000##FFFFFF
##B335B01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B3
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#B9466F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b335b0;
/* rgb */ color: rgb(179, 53, 176);
/* oklch */ color: oklch(56.2% 0.211 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c8',
    500: '#b335b0',
    950: '#000000',
  },
}
SCSS
$custom: #b335b0;
$custom-light: #cd78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b335b0",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 301.429,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.21078,
    "h": 329
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#B335B0
secondary
#7FC580
accent
#DE4E4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335B0

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

Preview Lab → · Contrast checker → · Palette generator →

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