#BA91ED#BA91ED

#BA91ED is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.0% C 0.136 H 303.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BA91ED
RGBrgb(186, 145, 237)
HSLhsl(267, 72%, 75%)
HSVhsv(267, 39%, 93%)
CMYKcmyk(21.5%, 38.8%, 0%, 7.1%)
CIE-LABlab(67.13, 33.27, -40.68)
CIE-LCHlch(67.13, 52.56, 309.27°)
OKLaboklab(73% 0.0755 -0.113)
OKLCHoklch(73% 0.136 303.7)
XYZxyz(45.6580, 36.8044, 84.8030)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91ED #C4ED91
analogous
#9196ED #BA91ED #E891ED
triadic
#BA91ED #EDBA91 #91EDBA
tetradic
#BA91ED #ED9196 #C4ED91 #91EDE8
square
#BA91ED #ED9196 #C4ED91 #91EDE8
split-complementary
#BA91ED #EDE891 #96ED91
monochromatic
#7828DC #995CE4 #BA91ED #DBC6F6 #EFE5FB

Accessibility & contrast

On white

2.51
#BA91ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#BA91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91ED
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91ED#FFFFFF#000000##000000
##BA91ED1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#B2A0B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba91ed;
/* rgb */ color: rgb(186, 145, 237);
/* oklch */ color: oklch(73.0% 0.136 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0b1f3',
    500: '#ba91ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba91ed;
$custom-light: #d0b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91ed",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 266.739,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72995,
    "c": 0.13592,
    "h": 303.7
  },
  "luminance": 0.36804
}

Semantic roles & 50–950 ramp

primary
#BA91ED
secondary
#E7F2D9
accent
#D4127D
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141117
muted
#828085

Preview Lab

Preview with #BA91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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