#BA8BED#BA8BED

#BA8BED is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.146 H 305.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BA8BED
RGBrgb(186, 139, 237)
HSLhsl(269, 73%, 74%)
HSVhsv(269, 41%, 93%)
CMYKcmyk(21.5%, 41.4%, 0%, 7.1%)
CIE-LABlab(65.76, 36.59, -42.83)
CIE-LCHlch(65.76, 56.33, 310.51°)
OKLaboklab(71.96% 0.0838 -0.1192)
OKLCHoklch(71.96% 0.146 305.1)
XYZxyz(44.7652, 35.0190, 84.5054)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BED #BEED8B
analogous
#8B8DED #BA8BED #EB8BED
triadic
#BA8BED #EDBA8B #8BEDBA
tetradic
#BA8BED #ED8B8D #BEED8B #8BEDEB
square
#BA8BED #ED8B8D #BEED8B #8BEDEB
split-complementary
#BA8BED #EDEB8B #8DED8B
monochromatic
#7B22DC #9A56E5 #BA8BED #DAC0F5 #EFE5FB

Accessibility & contrast

On white

2.62
#BA8BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BA8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BED
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BED#FFFFFF#000000##000000
##BA8BED1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#B29BB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba8bed;
/* rgb */ color: rgb(186, 139, 237);
/* oklch */ color: oklch(72.0% 0.146 305.1);
Tailwind
colors: {
  custom: {
    50: '#d0adf3',
    500: '#ba8bed',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bed;
$custom-light: #d0adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bed",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 268.776,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71963,
    "c": 0.14573,
    "h": 305.1
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

primary
#BA8BED
secondary
#E6F3D8
accent
#D51077
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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