#BA93CD#BA93CD

#BA93CD is a light, moderate purple. Relative luminance 0.357; OKLCH L 71.9% C 0.093 H 314.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BA93CD
RGBrgb(186, 147, 205)
HSLhsl(280, 37%, 69%)
HSVhsv(280, 28%, 80%)
CMYKcmyk(9.3%, 28.3%, 0%, 19.6%)
CIE-LABlab(66.30, 25.18, -24.26)
CIE-LCHlch(66.30, 34.97, 316.07°)
OKLaboklab(71.94% 0.0649 -0.0662)
OKLCHoklch(71.94% 0.093 314.4)
XYZxyz(41.7011, 35.7150, 62.4427)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93CD #A6CD93
analogous
#9D93CD #BA93CD #CD93C3
triadic
#BA93CD #CDBA93 #93CDBA
tetradic
#BA93CD #CD9D93 #A6CD93 #93C3CD
square
#BA93CD #CD9D93 #A6CD93 #93C3CD
split-complementary
#BA93CD #C3CD93 #93CD9D
monochromatic
#81499D #9F69BA #BA93CD #D5BDE0 #EFE7F4

Accessibility & contrast

On white

2.58
#BA93CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BA93CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93CD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93CD#FFFFFF#000000##000000
##BA93CD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#B99AA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba93cd;
/* rgb */ color: rgb(186, 147, 205);
/* oklch */ color: oklch(71.9% 0.093 314.4);
Tailwind
colors: {
  custom: {
    50: '#cfb3dc',
    500: '#ba93cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba93cd;
$custom-light: #cfb3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93cd",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 205
  },
  "hsl": {
    "h": 280.345,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.09267,
    "h": 314.4
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

primary
#BA93CD
secondary
#DBE6D5
accent
#B0365E
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA93CD

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

Preview Lab → · Contrast checker → · Palette generator →

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