#BA9BEE#BA9BEE

#BA9BEE is a light, vivid violet. Relative luminance 0.401; OKLCH L 74.8% C 0.121 H 300.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#BA9BEE
RGBrgb(186, 155, 238)
HSLhsl(262, 71%, 77%)
HSVhsv(262, 35%, 93%)
CMYKcmyk(21.8%, 34.9%, 0%, 6.7%)
CIE-LABlab(69.51, 27.94, -37.52)
CIE-LCHlch(69.51, 46.78, 306.67°)
OKLaboklab(74.82% 0.0617 -0.104)
OKLCHoklch(74.82% 0.121 300.7)
XYZxyz(47.4003, 40.0547, 86.1065)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9BEE #CFEE9B
analogous
#9BA6EE #BA9BEE #E49BEE
triadic
#BA9BEE #EEBA9B #9BEEBA
tetradic
#BA9BEE #EE9BA6 #CFEE9B #9BEEE4
square
#BA9BEE #EE9BA6 #CFEE9B #9BEEE4
split-complementary
#BA9BEE #EEE49B #A6EE9B
monochromatic
#7232DC #9667E5 #BA9BEE #DECFF7 #EDE5FB

Accessibility & contrast

On white

2.33
#BA9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#BA9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9BEE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9BEE#FFFFFF#000000##000000
##BA9BEE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#B1A8BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ba9bee;
/* rgb */ color: rgb(186, 155, 238);
/* oklch */ color: oklch(74.8% 0.121 300.7);
Tailwind
colors: {
  custom: {
    50: '#d0b8f4',
    500: '#ba9bee',
    950: '#000000',
  },
}
SCSS
$custom: #ba9bee;
$custom-light: #d0b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9bee",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 262.41,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74816,
    "c": 0.12091,
    "h": 300.7
  },
  "luminance": 0.40055
}

Semantic roles & 50–950 ramp

primary
#BA9BEE
secondary
#E9F2D9
accent
#D3138B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA9BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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