#B335BC#B335BC

#B335BC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.220 H 325.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B335BC
RGBrgb(179, 53, 188)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 74%)
CMYKcmyk(4.8%, 71.8%, 0%, 26.3%)
CIE-LABlab(46.66, 66.28, -45.32)
CIE-LCHlch(46.66, 80.29, 325.64°)
OKLaboklab(56.9% 0.1806 -0.1261)
OKLCHoklch(56.9% 0.22 325.1)
XYZxyz(28.9399, 15.7626, 49.0854)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335BC #3EBC35
analogous
#7035BC #B335BC #BC3582
triadic
#B335BC #BCB335 #35BCB3
tetradic
#B335BC #BC7035 #3EBC35 #3582BC
square
#B335BC #BC7035 #3EBC35 #3582BC
split-complementary
#B335BC #82BC35 #35BC70
monochromatic
#581A5D #86288C #B335BC #CA5DD1 #D98DDF

Accessibility & contrast

On white

5.06
#B335BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B335BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335BC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335BC#FFFFFF#000000##FFFFFF
##B335BC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A65C0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#B74C76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b335bc;
/* rgb */ color: rgb(179, 53, 188);
/* oklch */ color: oklch(56.9% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd78d1',
    500: '#b335bc',
    950: '#000000',
  },
}
SCSS
$custom: #b335bc;
$custom-light: #cd78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b335bc",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 296,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.22024,
    "h": 325.1
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#B335BC
secondary
#88C984
accent
#DF4853
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B335BC

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

Preview Lab → · Contrast checker → · Palette generator →

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