#B351AA#B351AA

#B351AA is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.167 H 331.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B351AA
RGBrgb(179, 81, 170)
HSLhsl(306, 39%, 51%)
HSVhsv(306, 55%, 70%)
CMYKcmyk(0%, 54.7%, 5%, 29.8%)
CIE-LABlab(49.95, 51.54, -29.60)
CIE-LCHlch(49.95, 59.44, 330.13°)
OKLaboklab(58.99% 0.1465 -0.0809)
OKLCHoklch(58.99% 0.167 331.1)
XYZxyz(28.7884, 18.3727, 40.0524)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351AA #51B35A
analogous
#8B51B3 #B351AA #B35179
triadic
#B351AA #AAB351 #51AAB3
tetradic
#B351AA #B38B51 #51B35A #5179B3
square
#B351AA #B38B51 #51B35A #5179B3
split-complementary
#B351AA #79B351 #51B38B
monochromatic
#602A5B #8A3C83 #B351AA #C67CBF #D8A6D4

Accessibility & contrast

On white

4.49
#B351AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B351AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351AA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351AA#FFFFFF#000000##000000
##B351AA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#B95976
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b351aa;
/* rgb */ color: rgb(179, 81, 170);
/* oklch */ color: oklch(59.0% 0.167 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc87c3',
    500: '#b351aa',
    950: '#000000',
  },
}
SCSS
$custom: #b351aa;
$custom-light: #cc87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b351aa",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 305.51,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.16736,
    "h": 331.1
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#B351AA
secondary
#9AC69E
accent
#CF6459
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B351AA

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

Preview Lab → · Contrast checker → · Palette generator →

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