#BA70BB#BA70BB

#BA70BB is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.2% C 0.136 H 326.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA70BB
RGBrgb(186, 112, 187)
HSLhsl(299, 36%, 59%)
HSVhsv(299, 40%, 73%)
CMYKcmyk(0.5%, 40.1%, 0%, 26.7%)
CIE-LABlab(57.67, 40.88, -27.39)
CIE-LCHlch(57.67, 49.20, 326.18°)
OKLaboklab(65.17% 0.113 -0.0747)
OKLCHoklch(65.17% 0.136 326.5)
XYZxyz(35.0128, 25.6169, 50.1043)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70BB #71BB70
analogous
#9470BB #BA70BB #BB7096
triadic
#BA70BB #BBBA70 #70BBBA
tetradic
#BA70BB #BB9470 #71BB70 #7096BB
square
#BA70BB #BB9470 #71BB70 #7096BB
split-complementary
#BA70BB #96BB70 #70BB94
monochromatic
#773978 #A04DA1 #BA70BB #CE99CF #E2C3E2

Accessibility & contrast

On white

3.43
#BA70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70BB#FFFFFF#000000##000000
##BA70BB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#BE778D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba70bb;
/* rgb */ color: rgb(186, 112, 187);
/* oklch */ color: oklch(65.2% 0.136 326.5);
Tailwind
colors: {
  custom: {
    50: '#d09bcf',
    500: '#ba70bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba70bb;
$custom-light: #d09bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70bb",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 299.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.1355,
    "h": 326.5
  },
  "luminance": 0.25615
}

Semantic roles & 50–950 ramp

primary
#BA70BB
secondary
#B5D2B5
accent
#CC5C5E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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