#B335AD#B335AD

#B335AD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.208 H 330.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B335AD
RGBrgb(179, 53, 173)
HSLhsl(303, 54%, 45%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 70.4%, 3.4%, 29.8%)
CIE-LABlab(45.84, 63.78, -37.82)
CIE-LCHlch(45.84, 74.15, 329.34°)
OKLaboklab(56.05% 0.1805 -0.1043)
OKLCHoklch(56.05% 0.208 330)
XYZxyz(27.4062, 15.1491, 41.0077)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335AD #35B33B
analogous
#7A35B3 #B335AD #B3356E
triadic
#B335AD #ADB335 #35ADB3
tetradic
#B335AD #B37A35 #35B33B #356EB3
square
#B335AD #B37A35 #35B33B #356EB3
split-complementary
#B335AD #6EB335 #35B37A
monochromatic
#551952 #84277F #B335AD #CD58C8 #DB87D7

Accessibility & contrast

On white

5.21
#B335AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B335AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335AD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335AD#FFFFFF#000000##FFFFFF
##B335AD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2762B0
Deuteranopia (green-blind)
#5973AA
Tritanopia (blue-blind)
#BA456D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b335ad;
/* rgb */ color: rgb(179, 53, 173);
/* oklch */ color: oklch(56.0% 0.208 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b335ad',
    950: '#000000',
  },
}
SCSS
$custom: #b335ad;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b335ad",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 302.857,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.20846,
    "h": 330
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#B335AD
secondary
#7FC582
accent
#DE514A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335AD

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

Preview Lab → · Contrast checker → · Palette generator →

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