#BA70BC#BA70BC

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

Color values

HEX#BA70BC
RGBrgb(186, 112, 188)
HSLhsl(298, 36%, 59%)
HSVhsv(298, 40%, 74%)
CMYKcmyk(1.1%, 40.4%, 0%, 26.3%)
CIE-LABlab(57.71, 41.06, -27.90)
CIE-LCHlch(57.71, 49.64, 325.81°)
OKLaboklab(65.21% 0.1132 -0.0762)
OKLCHoklch(65.21% 0.136 326.1)
XYZxyz(35.1202, 25.6598, 50.6701)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70BC #72BC70
analogous
#9470BC #BA70BC #BC7098
triadic
#BA70BC #BCBA70 #70BCBA
tetradic
#BA70BC #BC9470 #72BC70 #7098BC
square
#BA70BC #BC9470 #72BC70 #7098BC
split-complementary
#BA70BC #98BC70 #70BC94
monochromatic
#773979 #A04CA3 #BA70BC #CE9AD0 #E2C3E3

Accessibility & contrast

On white

3.42
#BA70BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA70BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70BC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70BC#FFFFFF#000000##000000
##BA70BC1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985BF
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#BE788D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba70bc;
/* rgb */ color: rgb(186, 112, 188);
/* oklch */ color: oklch(65.2% 0.136 326.1);
Tailwind
colors: {
  custom: {
    50: '#d09bd0',
    500: '#ba70bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba70bc;
$custom-light: #d09bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70bc",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 298.421,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.13648,
    "h": 326.1
  },
  "luminance": 0.25658
}

Semantic roles & 50–950 ramp

primary
#BA70BC
secondary
#B6D3B5
accent
#CC5C5F
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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