#BA95EE#BA95EE

#BA95EE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.7% C 0.131 H 302.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BA95EE
RGBrgb(186, 149, 238)
HSLhsl(265, 72%, 76%)
HSVhsv(265, 37%, 93%)
CMYKcmyk(21.8%, 37.4%, 0%, 6.7%)
CIE-LABlab(68.10, 31.28, -39.72)
CIE-LCHlch(68.10, 50.55, 308.22°)
OKLaboklab(73.74% 0.0701 -0.1103)
OKLCHoklch(73.74% 0.131 302.5)
XYZxyz(46.4265, 38.1070, 85.7819)
Luminance0.3811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95EE #C9EE95
analogous
#959CEE #BA95EE #E795EE
triadic
#BA95EE #EEBA95 #95EEBA
tetradic
#BA95EE #EE959C #C9EE95 #95EEE7
square
#BA95EE #EE959C #C9EE95 #95EEE7
split-complementary
#BA95EE #EEE795 #9CEE95
monochromatic
#752CDD #9860E6 #BA95EE #DCCAF6 #EEE5FB

Accessibility & contrast

On white

2.44
#BA95EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BA95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95EE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95EE#FFFFFF#000000##000000
##BA95EE1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F1
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#B1A3B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba95ee;
/* rgb */ color: rgb(186, 149, 238);
/* oklch */ color: oklch(73.7% 0.131 302.5);
Tailwind
colors: {
  custom: {
    50: '#d0b4f4',
    500: '#ba95ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba95ee;
$custom-light: #d0b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95ee",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 264.944,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73744,
    "c": 0.13066,
    "h": 302.5
  },
  "luminance": 0.38107
}

Semantic roles & 50–950 ramp

primary
#BA95EE
secondary
#E8F2D9
accent
#D41183
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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