#BA99EA#BA99EA

#BA99EA is a light, moderate violet. Relative luminance 0.392; OKLCH L 74.3% C 0.119 H 302.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BA99EA
RGBrgb(186, 153, 234)
HSLhsl(264, 66%, 76%)
HSVhsv(264, 35%, 92%)
CMYKcmyk(20.5%, 34.6%, 0%, 8.2%)
CIE-LABlab(68.87, 28.14, -36.33)
CIE-LCHlch(68.87, 45.95, 307.76°)
OKLaboklab(74.27% 0.0636 -0.1005)
OKLCHoklch(74.27% 0.119 302.3)
XYZxyz(46.4891, 39.1621, 82.9358)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99EA #C9EA99
analogous
#99A0EA #BA99EA #E299EA
triadic
#BA99EA #EABA99 #99EABA
tetradic
#BA99EA #EA99A0 #C9EA99 #99EAE2
square
#BA99EA #EA99A0 #C9EA99 #99EAE2
split-complementary
#BA99EA #EAE299 #A0EA99
monochromatic
#7533D5 #9866E0 #BA99EA #DCCCF4 #EEE6FA

Accessibility & contrast

On white

2.38
#BA99EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#BA99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99EA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99EA#FFFFFF#000000##000000
##BA99EA1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7ED
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#B2A6B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ba99ea;
/* rgb */ color: rgb(186, 153, 234);
/* oklch */ color: oklch(74.3% 0.119 302.3);
Tailwind
colors: {
  custom: {
    50: '#d0b7f1',
    500: '#ba99ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba99ea;
$custom-light: #d0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99ea",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 264.444,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.11896,
    "h": 302.3
  },
  "luminance": 0.39162
}

Semantic roles & 50–950 ramp

primary
#BA99EA
secondary
#E8F1DA
accent
#CE1884
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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