#BA85EA#BA85EA

#BA85EA is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.152 H 307.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BA85EA
RGBrgb(186, 133, 234)
HSLhsl(271, 71%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(20.5%, 43.2%, 0%, 8.2%)
CIE-LABlab(64.29, 39.21, -43.49)
CIE-LCHlch(64.29, 58.56, 312.04°)
OKLaboklab(70.81% 0.0917 -0.1211)
OKLCHoklch(70.81% 0.152 307.1)
XYZxyz(43.4856, 33.1551, 81.9347)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85EA #B5EA85
analogous
#8885EA #BA85EA #EA85E8
triadic
#BA85EA #EABA85 #85EABA
tetradic
#BA85EA #EA8885 #B5EA85 #85E8EA
square
#BA85EA #EA8885 #B5EA85 #85E8EA
split-complementary
#BA85EA #E8EA85 #85EA88
monochromatic
#7F24D1 #9C51E1 #BA85EA #D8B9F3 #F0E5FB

Accessibility & contrast

On white

2.75
#BA85EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BA85EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85EA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85EA#FFFFFF#000000##000000
##BA85EA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#B395AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba85ea;
/* rgb */ color: rgb(186, 133, 234);
/* oklch */ color: oklch(70.8% 0.152 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0a9f1',
    500: '#ba85ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba85ea;
$custom-light: #d0a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85ea",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 271.485,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.15186,
    "h": 307.1
  },
  "luminance": 0.33155
}

Semantic roles & 50–950 ramp

primary
#BA85EA
secondary
#E5F2D9
accent
#D3136E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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