#BA75B2#BA75B2

#BA75B2 is a light, moderate purple. Relative luminance 0.264; OKLCH L 65.6% C 0.118 H 331.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#BA75B2
RGBrgb(186, 117, 178)
HSLhsl(307, 33%, 59%)
HSVhsv(307, 37%, 73%)
CMYKcmyk(0%, 37.1%, 4.3%, 27.1%)
CIE-LABlab(58.39, 36.51, -21.13)
CIE-LCHlch(58.39, 42.18, 329.94°)
OKLaboklab(65.59% 0.1032 -0.0571)
OKLCHoklch(65.59% 0.118 331)
XYZxyz(34.6464, 26.3777, 45.3773)
Luminance0.2638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75B2 #75BA7D
analogous
#A075BA #BA75B2 #BA7590
triadic
#BA75B2 #B2BA75 #75B2BA
tetradic
#BA75B2 #BAA075 #75BA7D #7590BA
square
#BA75B2 #BAA075 #75BA7D #7590BA
split-complementary
#BA75B2 #90BA75 #75BAA0
monochromatic
#783C71 #A15198 #BA75B2 #CE9EC9 #E3C7E0

Accessibility & contrast

On white

3.35
#BA75B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#BA75B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75B2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75B2#FFFFFF#000000##000000
##BA75B21.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#8490B0
Tritanopia (blue-blind)
#BF798C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba75b2;
/* rgb */ color: rgb(186, 117, 178);
/* oklch */ color: oklch(65.6% 0.118 331.0);
Tailwind
colors: {
  custom: {
    50: '#d09ec9',
    500: '#ba75b2',
    950: '#000000',
  },
}
SCSS
$custom: #ba75b2;
$custom-light: #d09ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75b2",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 178
  },
  "hsl": {
    "h": 306.957,
    "s": 33.333,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65592,
    "c": 0.11795,
    "h": 331
  },
  "luminance": 0.26376
}

Semantic roles & 50–950 ramp

primary
#BA75B2
secondary
#B8D3BB
accent
#C96B5E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA75B2

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

Preview Lab → · Contrast checker → · Palette generator →

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