#BA30AE#BA30AE

#BA30AE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.218 H 331.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA30AE
RGBrgb(186, 48, 174)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 74%, 73%)
CMYKcmyk(0%, 74.2%, 6.5%, 27.1%)
CIE-LABlab(46.46, 67.17, -37.35)
CIE-LCHlch(46.46, 76.86, 330.93°)
OKLaboklab(56.73% 0.1926 -0.1028)
OKLCHoklch(56.73% 0.218 331.9)
XYZxyz(28.9467, 15.6114, 41.5249)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA30AE #30BA3C
analogous
#8130BA #BA30AE #BA3069
triadic
#BA30AE #AEBA30 #30AEBA
tetradic
#BA30AE #BA8130 #30BA3C #3069BA
square
#BA30AE #BA8130 #30BA3C #3069BA
split-complementary
#BA30AE #69BA30 #30BA81
monochromatic
#591753 #892380 #BA30AE #D354C8 #DF85D8

Accessibility & contrast

On white

5.09
#BA30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA30AE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA30AE#FFFFFF#000000##FFFFFF
##BA30AE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#C2406C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba30ae;
/* rgb */ color: rgb(186, 48, 174);
/* oklch */ color: oklch(56.7% 0.218 331.9);
Tailwind
colors: {
  custom: {
    50: '#d377c6',
    500: '#ba30ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba30ae;
$custom-light: #d377c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba30ae",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 305.217,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.21828,
    "h": 331.9
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#BA30AE
secondary
#7DC983
accent
#E25346
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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