#BA80DD#BA80DD

#BA80DD is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.145 H 311.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BA80DD
RGBrgb(186, 128, 221)
HSLhsl(277, 58%, 68%)
HSVhsv(277, 42%, 87%)
CMYKcmyk(15.8%, 42.1%, 0%, 13.3%)
CIE-LABlab(62.59, 39.09, -38.93)
CIE-LCHlch(62.59, 55.17, 315.12°)
OKLaboklab(69.34% 0.0964 -0.1079)
OKLCHoklch(69.34% 0.145 311.8)
XYZxyz(41.0178, 31.0986, 72.2344)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80DD #A3DD80
analogous
#8B80DD #BA80DD #DD80D2
triadic
#BA80DD #DDBA80 #80DDBA
tetradic
#BA80DD #DD8B80 #A3DD80 #80D2DD
square
#BA80DD #DD8B80 #A3DD80 #80D2DD
split-complementary
#BA80DD #D2DD80 #80DD8B
monochromatic
#8130B3 #A050D0 #BA80DD #D4B0EA #EEE1F7

Accessibility & contrast

On white

2.91
#BA80DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BA80DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80DD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80DD#FFFFFF#000000##000000
##BA80DD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#7C99DA
Tritanopia (blue-blind)
#B78EA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba80dd;
/* rgb */ color: rgb(186, 128, 221);
/* oklch */ color: oklch(69.3% 0.145 311.8);
Tailwind
colors: {
  custom: {
    50: '#d0a6e8',
    500: '#ba80dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba80dd;
$custom-light: #d0a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80dd",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 277.419,
    "s": 57.764,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69338,
    "c": 0.14472,
    "h": 311.8
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#BA80DD
secondary
#D9EACE
accent
#C5205E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA80DD

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

Preview Lab → · Contrast checker → · Palette generator →

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