#BA75DD#BA75DD

#BA75DD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.163 H 313.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#BA75DD
RGBrgb(186, 117, 221)
HSLhsl(280, 60%, 66%)
HSVhsv(280, 47%, 87%)
CMYKcmyk(15.8%, 47.1%, 0%, 13.3%)
CIE-LABlab(60.23, 45.04, -42.63)
CIE-LCHlch(60.23, 62.01, 316.57°)
OKLaboklab(67.58% 0.1119 -0.1185)
OKLCHoklch(67.58% 0.163 313.4)
XYZxyz(39.6600, 28.3831, 71.7818)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75DD #98DD75
analogous
#8675DD #BA75DD #DD75CC
triadic
#BA75DD #DDBA75 #75DDBA
tetradic
#BA75DD #DD8675 #98DD75 #75CCDD
square
#BA75DD #DD8675 #98DD75 #75CCDD
split-complementary
#BA75DD #CCDD75 #75DD86
monochromatic
#812BAD #A144D1 #BA75DD #D3A6E9 #EBD7F5

Accessibility & contrast

On white

3.15
#BA75DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#BA75DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75DD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75DD#FFFFFF#000000##000000
##BA75DD1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#7293DA
Tritanopia (blue-blind)
#B7859F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba75dd;
/* rgb */ color: rgb(186, 117, 221);
/* oklch */ color: oklch(67.6% 0.163 313.4);
Tailwind
colors: {
  custom: {
    50: '#d19ee8',
    500: '#ba75dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba75dd;
$custom-light: #d19ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75dd",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 279.808,
    "s": 60.465,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67575,
    "c": 0.16302,
    "h": 313.4
  },
  "luminance": 0.28382
}

Semantic roles & 50–950 ramp

primary
#BA75DD
secondary
#D1E8C6
accent
#C81D57
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA75DD

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

Preview Lab → · Contrast checker → · Palette generator →

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