#BA9BF9#BA9BF9

#BA9BF9 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.3% C 0.135 H 298.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BA9BF9
RGBrgb(186, 155, 249)
HSLhsl(260, 89%, 79%)
HSVhsv(260, 38%, 98%)
CMYKcmyk(25.3%, 37.8%, 0%, 2.4%)
CIE-LABlab(69.98, 30.49, -42.79)
CIE-LCHlch(69.98, 52.54, 305.48°)
OKLaboklab(75.33% 0.0641 -0.1191)
OKLCHoklch(75.33% 0.135 298.3)
XYZxyz(49.0660, 40.7210, 94.8791)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9BF9 #DAF99B
analogous
#9BABF9 #BA9BF9 #E99BF9
triadic
#BA9BF9 #F9BA9B #9BF9BA
tetradic
#BA9BF9 #F99BAB #DAF99B #9BF9E9
square
#BA9BF9 #F99BAB #DAF99B #9BF9E9
split-complementary
#BA9BF9 #F9E99B #ABF99B
monochromatic
#6A28F2 #9261F6 #BA9BF9 #E2D5FC #EBE2FD

Accessibility & contrast

On white

2.30
#BA9BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#BA9BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9BF9
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9BF9#FFFFFF#000000##000000
##BA9BF91.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFD
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#AEABBE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ba9bf9;
/* rgb */ color: rgb(186, 155, 249);
/* oklch */ color: oklch(75.3% 0.135 298.3);
Tailwind
colors: {
  custom: {
    50: '#d0b8fb',
    500: '#ba9bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ba9bf9;
$custom-light: #d0b8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9bf9",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 249
  },
  "hsl": {
    "h": 259.787,
    "s": 88.679,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7533,
    "c": 0.13528,
    "h": 298.3
  },
  "luminance": 0.40721
}

Semantic roles & 50–950 ramp

primary
#BA9BF9
secondary
#EBF5D6
accent
#E5009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BA9BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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