#B335AA#B335AA

#B335AA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.206 H 331.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B335AA
RGBrgb(179, 53, 170)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 70.4%, 5%, 29.8%)
CIE-LABlab(45.68, 63.30, -36.29)
CIE-LCHlch(45.68, 72.96, 330.18°)
OKLaboklab(55.88% 0.1804 -0.0999)
OKLCHoklch(55.88% 0.206 331)
XYZxyz(27.1192, 15.0343, 39.4960)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335AA #35B33E
analogous
#7D35B3 #B335AA #B3356B
triadic
#B335AA #AAB335 #35AAB3
tetradic
#B335AA #B37D35 #35B33E #356BB3
square
#B335AA #B37D35 #35B33E #356BB3
split-complementary
#B335AA #6BB335 #35B37D
monochromatic
#551950 #84277D #B335AA #CD58C5 #DB87D5

Accessibility & contrast

On white

5.24
#B335AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B335AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335AA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335AA#FFFFFF#000000##FFFFFF
##B335AA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#BA446C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b335aa;
/* rgb */ color: rgb(179, 53, 170);
/* oklch */ color: oklch(55.9% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c4',
    500: '#b335aa',
    950: '#000000',
  },
}
SCSS
$custom: #b335aa;
$custom-light: #cd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b335aa",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 304.286,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.20618,
    "h": 331
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#B335AA
secondary
#7FC584
accent
#DE554A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B335AA

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

Preview Lab → · Contrast checker → · Palette generator →

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