#BA80EE#BA80EE

#BA80EE is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.165 H 307.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BA80EE
RGBrgb(186, 128, 238)
HSLhsl(272, 76%, 72%)
HSVhsv(272, 46%, 93%)
CMYKcmyk(21.8%, 46.2%, 0%, 6.7%)
CIE-LABlab(63.38, 42.84, -47.12)
CIE-LCHlch(63.38, 63.68, 312.28°)
OKLaboklab(70.19% 0.0991 -0.1316)
OKLCHoklch(70.19% 0.165 307)
XYZxyz(43.3984, 32.0509, 84.7725)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA80EE #B4EE80
analogous
#8380EE #BA80EE #EE80EB
triadic
#BA80EE #EEBA80 #80EEBA
tetradic
#BA80EE #EE8380 #B4EE80 #80EBEE
square
#BA80EE #EE8380 #B4EE80 #80EBEE
split-complementary
#BA80EE #EBEE80 #80EE83
monochromatic
#7F1DD7 #9D4AE7 #BA80EE #D7B6F5 #F0E4FB

Accessibility & contrast

On white

2.83
#BA80EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BA80EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA80EE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA80EE#FFFFFF#000000##000000
##BA80EE1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#B292AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba80ee;
/* rgb */ color: rgb(186, 128, 238);
/* oklch */ color: oklch(70.2% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#d1a6f4',
    500: '#ba80ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba80ee;
$custom-light: #d1a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba80ee",
  "rgb": {
    "r": 186,
    "g": 128,
    "b": 238
  },
  "hsl": {
    "h": 271.636,
    "s": 76.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70193,
    "c": 0.16475,
    "h": 307
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#BA80EE
secondary
#E4F3D7
accent
#D90D6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA80EE

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

Preview Lab → · Contrast checker → · Palette generator →

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