#B335B4#B335B4

#B335B4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.214 H 327.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B335B4
RGBrgb(179, 53, 180)
HSLhsl(300, 55%, 46%)
HSVhsv(300, 71%, 71%)
CMYKcmyk(0.6%, 70.6%, 0%, 29.4%)
CIE-LABlab(46.21, 64.93, -41.34)
CIE-LCHlch(46.21, 76.98, 327.51°)
OKLaboklab(56.44% 0.1807 -0.1145)
OKLCHoklch(56.44% 0.214 327.6)
XYZxyz(28.1013, 15.4272, 44.6688)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335B4 #36B435
analogous
#7435B4 #B335B4 #B43575
triadic
#B335B4 #B4B335 #35B4B3
tetradic
#B335B4 #B47435 #36B435 #3575B4
square
#B335B4 #B47435 #36B435 #3575B4
split-complementary
#B335B4 #75B435 #35B474
monochromatic
#551955 #842785 #B335B4 #CD58CE #DB88DC

Accessibility & contrast

On white

5.14
#B335B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B335B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335B4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335B4#FFFFFF#000000##FFFFFF
##B335B41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D63B8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#B84871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b335b4;
/* rgb */ color: rgb(179, 53, 180);
/* oklch */ color: oklch(56.4% 0.214 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd78cb',
    500: '#b335b4',
    950: '#000000',
  },
}
SCSS
$custom: #b335b4;
$custom-light: #cd78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b335b4",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 299.528,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.2139,
    "h": 327.6
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#B335B4
secondary
#80C67F
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335B4

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

Preview Lab → · Contrast checker → · Palette generator →

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