#BA75DB#BA75DB

#BA75DB is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.5% C 0.161 H 314.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BA75DB
RGBrgb(186, 117, 219)
HSLhsl(281, 59%, 66%)
HSVhsv(281, 47%, 86%)
CMYKcmyk(15.1%, 46.6%, 0%, 14.1%)
CIE-LABlab(60.14, 44.61, -41.66)
CIE-LCHlch(60.14, 61.04, 316.96°)
OKLaboklab(67.47% 0.1116 -0.1157)
OKLCHoklch(67.47% 0.161 314)
XYZxyz(39.3951, 28.2771, 70.3869)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75DB #96DB75
analogous
#8775DB #BA75DB #DB75C9
triadic
#BA75DB #DBBA75 #75DBBA
tetradic
#BA75DB #DB8775 #96DB75 #75C9DB
square
#BA75DB #DB8775 #96DB75 #75C9DB
split-complementary
#BA75DB #C9DB75 #75DB87
monochromatic
#812CA9 #A244CE #BA75DB #D2A6E8 #EBD6F4

Accessibility & contrast

On white

3.16
#BA75DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BA75DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75DB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75DB#FFFFFF#000000##000000
##BA75DB1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#B7849E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba75db;
/* rgb */ color: rgb(186, 117, 219);
/* oklch */ color: oklch(67.5% 0.161 314.0);
Tailwind
colors: {
  custom: {
    50: '#d09ee6',
    500: '#ba75db',
    950: '#000000',
  },
}
SCSS
$custom: #ba75db;
$custom-light: #d09ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75db",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 280.588,
    "s": 58.621,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.16079,
    "h": 314
  },
  "luminance": 0.28276
}

Semantic roles & 50–950 ramp

primary
#BA75DB
secondary
#D0E7C5
accent
#C61F55
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA75DB

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

Preview Lab → · Contrast checker → · Palette generator →

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