#B335AE#B335AE

#B335AE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.209 H 329.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B335AE
RGBrgb(179, 53, 174)
HSLhsl(302, 54%, 45%)
HSVhsv(302, 70%, 70%)
CMYKcmyk(0%, 70.4%, 2.8%, 29.8%)
CIE-LABlab(45.89, 63.94, -38.32)
CIE-LCHlch(45.89, 74.55, 329.06°)
OKLaboklab(56.1% 0.1805 -0.1058)
OKLCHoklch(56.1% 0.209 329.6)
XYZxyz(27.5033, 15.1880, 41.5192)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335AE #35B33A
analogous
#7935B3 #B335AE #B3356F
triadic
#B335AE #AEB335 #35AEB3
tetradic
#B335AE #B37935 #35B33A #356FB3
square
#B335AE #B37935 #35B33A #356FB3
split-complementary
#B335AE #6FB335 #35B379
monochromatic
#551952 #842780 #B335AE #CD58C9 #DB87D8

Accessibility & contrast

On white

5.20
#B335AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B335AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335AE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335AE#FFFFFF#000000##FFFFFF
##B335AE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#B9456E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b335ae;
/* rgb */ color: rgb(179, 53, 174);
/* oklch */ color: oklch(56.1% 0.209 329.6);
Tailwind
colors: {
  custom: {
    50: '#cd78c6',
    500: '#b335ae',
    950: '#000000',
  },
}
SCSS
$custom: #b335ae;
$custom-light: #cd78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b335ae",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 302.381,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.20923,
    "h": 329.6
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#B335AE
secondary
#7FC581
accent
#DE504A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335AE

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

Preview Lab → · Contrast checker → · Palette generator →

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