#BA95EA#BA95EA

#BA95EA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.6% C 0.126 H 303.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BA95EA
RGBrgb(186, 149, 234)
HSLhsl(266, 67%, 75%)
HSVhsv(266, 36%, 92%)
CMYKcmyk(20.5%, 36.3%, 0%, 8.2%)
CIE-LABlab(67.93, 30.36, -37.79)
CIE-LCHlch(67.93, 48.48, 308.78°)
OKLaboklab(73.56% 0.0693 -0.1047)
OKLCHoklch(73.56% 0.126 303.5)
XYZxyz(45.8453, 37.8746, 82.7212)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95EA #C5EA95
analogous
#959AEA #BA95EA #E595EA
triadic
#BA95EA #EABA95 #95EABA
tetradic
#BA95EA #EA959A #C5EA95 #95EAE5
square
#BA95EA #EA959A #C5EA95 #95EAE5
split-complementary
#BA95EA #EAE595 #9AEA95
monochromatic
#782FD6 #9962E0 #BA95EA #DBC8F4 #EEE5FA

Accessibility & contrast

On white

2.45
#BA95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BA95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95EA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95EA#FFFFFF#000000##000000
##BA95EA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#B2A2B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba95ea;
/* rgb */ color: rgb(186, 149, 234);
/* oklch */ color: oklch(73.6% 0.126 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b4f1',
    500: '#ba95ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba95ea;
$custom-light: #d0b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95ea",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 266.118,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73558,
    "c": 0.12555,
    "h": 303.5
  },
  "luminance": 0.37875
}

Semantic roles & 50–950 ramp

primary
#BA95EA
secondary
#E7F1DA
accent
#CF177F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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