#BA8FF5#BA8FF5

#BA8FF5 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.149 H 302.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BA8FF5
RGBrgb(186, 143, 245)
HSLhsl(265, 84%, 76%)
HSVhsv(265, 42%, 96%)
CMYKcmyk(24.1%, 41.6%, 0%, 3.9%)
CIE-LABlab(67.03, 36.22, -45.23)
CIE-LCHlch(67.03, 57.94, 308.69°)
OKLaboklab(73.04% 0.0797 -0.1262)
OKLCHoklch(73.04% 0.149 302.3)
XYZxyz(46.5500, 36.6766, 90.9954)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FF5 #CAF58F
analogous
#8F97F5 #BA8FF5 #ED8FF5
triadic
#BA8FF5 #F5BA8F #8FF5BA
tetradic
#BA8FF5 #F58F97 #CAF58F #8FF5ED
square
#BA8FF5 #F58F97 #CAF58F #8FF5ED
split-complementary
#BA8FF5 #F5ED8F #97F58F
monochromatic
#751FEB #9757F0 #BA8FF5 #DDC7FA #EEE3FC

Accessibility & contrast

On white

2.52
#BA8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#BA8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FF5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FF5#FFFFFF#000000##000000
##BA8FF51.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#7EA3F2
Tritanopia (blue-blind)
#B0A0B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba8ff5;
/* rgb */ color: rgb(186, 143, 245);
/* oklch */ color: oklch(73.0% 0.149 302.3);
Tailwind
colors: {
  custom: {
    50: '#d0b0f9',
    500: '#ba8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ff5;
$custom-light: #d0b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ff5",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 265.294,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.14924,
    "h": 302.3
  },
  "luminance": 0.36677
}

Semantic roles & 50–950 ramp

primary
#BA8FF5
secondary
#E8F4D7
accent
#E00584
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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