#BA85E8#BA85E8

#BA85E8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.149 H 307.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA85E8
RGBrgb(186, 133, 232)
HSLhsl(272, 68%, 72%)
HSVhsv(272, 43%, 91%)
CMYKcmyk(19.8%, 42.7%, 0%, 9%)
CIE-LABlab(64.19, 38.77, -42.53)
CIE-LCHlch(64.19, 57.55, 312.35°)
OKLaboklab(70.71% 0.0913 -0.1183)
OKLCHoklch(70.71% 0.149 307.7)
XYZxyz(43.1999, 33.0408, 80.4300)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85E8 #B3E885
analogous
#8985E8 #BA85E8 #E885E5
triadic
#BA85E8 #E8BA85 #85E8BA
tetradic
#BA85E8 #E88985 #B3E885 #85E5E8
square
#BA85E8 #E88985 #B3E885 #85E5E8
split-complementary
#BA85E8 #E5E885 #85E889
monochromatic
#7F26CC #9D52DE #BA85E8 #D7B8F2 #F0E5FA

Accessibility & contrast

On white

2.76
#BA85E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA85E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85E8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85E8#FFFFFF#000000##000000
##BA85E81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EC
Deuteranopia (green-blind)
#7B9CE5
Tritanopia (blue-blind)
#B495AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba85e8;
/* rgb */ color: rgb(186, 133, 232);
/* oklch */ color: oklch(70.7% 0.149 307.7);
Tailwind
colors: {
  custom: {
    50: '#d0a9ef',
    500: '#ba85e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba85e8;
$custom-light: #d0a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85e8",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 232
  },
  "hsl": {
    "h": 272.121,
    "s": 68.276,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70706,
    "c": 0.14945,
    "h": 307.7
  },
  "luminance": 0.3304
}

Semantic roles & 50–950 ramp

primary
#BA85E8
secondary
#E4F1D8
accent
#D0156C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA85E8

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

Preview Lab → · Contrast checker → · Palette generator →

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