#BA99EE#BA99EE

#BA99EE is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.124 H 301.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BA99EE
RGBrgb(186, 153, 238)
HSLhsl(263, 71%, 77%)
HSVhsv(263, 36%, 93%)
CMYKcmyk(21.8%, 35.7%, 0%, 6.7%)
CIE-LABlab(69.04, 29.05, -38.26)
CIE-LCHlch(69.04, 48.04, 307.21°)
OKLaboklab(74.46% 0.0645 -0.1061)
OKLCHoklch(74.46% 0.124 301.3)
XYZxyz(47.0702, 39.3945, 85.9965)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99EE #CDEE99
analogous
#99A3EE #BA99EE #E599EE
triadic
#BA99EE #EEBA99 #99EEBA
tetradic
#BA99EE #EE99A3 #CDEE99 #99EEE5
square
#BA99EE #EE99A3 #CDEE99 #99EEE5
split-complementary
#BA99EE #EEE599 #A3EE99
monochromatic
#7330DD #9765E5 #BA99EE #DDCDF7 #EDE5FB

Accessibility & contrast

On white

2.37
#BA99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BA99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99EE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99EE#FFFFFF#000000##000000
##BA99EE1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F1
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#B1A7B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ba99ee;
/* rgb */ color: rgb(186, 153, 238);
/* oklch */ color: oklch(74.5% 0.124 301.3);
Tailwind
colors: {
  custom: {
    50: '#d0b7f4',
    500: '#ba99ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba99ee;
$custom-light: #d0b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99ee",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 263.294,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74456,
    "c": 0.12415,
    "h": 301.3
  },
  "luminance": 0.39395
}

Semantic roles & 50–950 ramp

primary
#BA99EE
secondary
#E8F2D9
accent
#D31288
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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