#BA93CA#BA93CA

#BA93CA is a light, moderate purple. Relative luminance 0.356; OKLCH L 71.8% C 0.089 H 315.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BA93CA
RGBrgb(186, 147, 202)
HSLhsl(283, 34%, 68%)
HSVhsv(283, 27%, 79%)
CMYKcmyk(7.9%, 27.2%, 0%, 20.8%)
CIE-LABlab(66.19, 24.57, -22.76)
CIE-LCHlch(66.19, 33.49, 317.18°)
OKLaboklab(71.82% 0.064 -0.0619)
OKLCHoklch(71.82% 0.089 315.9)
XYZxyz(41.3425, 35.5715, 60.5538)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93CA #A3CA93
analogous
#9E93CA #BA93CA #CA93BE
triadic
#BA93CA #CABA93 #93CABA
tetradic
#BA93CA #CA9E93 #A3CA93 #93BECA
square
#BA93CA #CA9E93 #A3CA93 #93BECA
split-complementary
#BA93CA #BECA93 #93CA9E
monochromatic
#814B98 #A06AB6 #BA93CA #D4BCDE #EEE5F2

Accessibility & contrast

On white

2.59
#BA93CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BA93CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93CA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93CA#FFFFFF#000000##000000
##BA93CA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#BA99A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba93ca;
/* rgb */ color: rgb(186, 147, 202);
/* oklch */ color: oklch(71.8% 0.089 315.9);
Tailwind
colors: {
  custom: {
    50: '#cfb3da',
    500: '#ba93ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba93ca;
$custom-light: #cfb3da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93ca",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 202
  },
  "hsl": {
    "h": 282.545,
    "s": 34.161,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71817,
    "c": 0.08907,
    "h": 315.9
  },
  "luminance": 0.35571
}

Semantic roles & 50–950 ramp

primary
#BA93CA
secondary
#D9E5D4
accent
#AD395A
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BA93CA

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

Preview Lab → · Contrast checker → · Palette generator →

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