#BA70CD#BA70CD

#BA70CD is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.0% C 0.154 H 319.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#BA70CD
RGBrgb(186, 112, 205)
HSLhsl(288, 48%, 62%)
HSVhsv(288, 45%, 80%)
CMYKcmyk(9.3%, 45.4%, 0%, 19.6%)
CIE-LABlab(58.45, 44.38, -36.42)
CIE-LCHlch(58.45, 57.41, 320.63°)
OKLaboklab(66% 0.1165 -0.1006)
OKLCHoklch(66% 0.154 319.2)
XYZxyz(37.0619, 26.4365, 60.8962)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70CD #83CD70
analogous
#8C70CD #BA70CD #CD70B2
triadic
#BA70CD #CDBA70 #70CDBA
tetradic
#BA70CD #CD8C70 #83CD70 #70B2CD
square
#BA70CD #CD8C70 #83CD70 #70B2CD
split-complementary
#BA70CD #B2CD70 #70CD8C
monochromatic
#7D3290 #A443BD #BA70CD #D09DDD #E6CBED

Accessibility & contrast

On white

3.34
#BA70CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#BA70CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70CD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70CD#FFFFFF#000000##000000
##BA70CD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#BB7C95
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba70cd;
/* rgb */ color: rgb(186, 112, 205);
/* oklch */ color: oklch(66.0% 0.154 319.2);
Tailwind
colors: {
  custom: {
    50: '#d09bdc',
    500: '#ba70cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba70cd;
$custom-light: #d09bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70cd",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 287.742,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.15393,
    "h": 319.2
  },
  "luminance": 0.26435
}

Semantic roles & 50–950 ramp

primary
#BA70CD
secondary
#C2DDBB
accent
#BB2A48
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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