#BA80E2#BA80E2

#BA80E2 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.151 H 310.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#BA80E2
RGBrgb(186, 128, 226)
HSLhsl(276, 63%, 69%)
HSVhsv(276, 43%, 89%)
CMYKcmyk(17.7%, 43.4%, 0%, 11.4%)
CIE-LABlab(62.82, 40.18, -41.36)
CIE-LCHlch(62.82, 57.66, 314.17°)
OKLaboklab(69.58% 0.0973 -0.1149)
OKLCHoklch(69.58% 0.151 310.3)
XYZxyz(41.6938, 31.3691, 75.7952)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80E2 #A8E280
analogous
#8980E2 #BA80E2 #E280D9
triadic
#BA80E2 #E2BA80 #80E2BA
tetradic
#BA80E2 #E28980 #A8E280 #80D9E2
square
#BA80E2 #E28980 #A8E280 #80D9E2
split-complementary
#BA80E2 #D9E280 #80E289
monochromatic
#812BBD #9F4ED7 #BA80E2 #D5B2ED #F0E4F9

Accessibility & contrast

On white

2.89
#BA80E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#BA80E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80E2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80E2#FFFFFF#000000##000000
##BA80E21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#B58FA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba80e2;
/* rgb */ color: rgb(186, 128, 226);
/* oklch */ color: oklch(69.6% 0.151 310.3);
Tailwind
colors: {
  custom: {
    50: '#d0a6eb',
    500: '#ba80e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba80e2;
$custom-light: #d0a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80e2",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 275.51,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.15058,
    "h": 310.3
  },
  "luminance": 0.31368
}

Semantic roles & 50–950 ramp

primary
#BA80E2
secondary
#DCEDD1
accent
#CB1B63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #BA80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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