#BA93FD#BA93FD

#BA93FD is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.1% C 0.153 H 299.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#BA93FD
RGBrgb(186, 147, 253)
HSLhsl(262, 96%, 78%)
HSVhsv(262, 42%, 99%)
CMYKcmyk(26.5%, 41.9%, 0%, 0.8%)
CIE-LABlab(68.31, 35.88, -47.58)
CIE-LCHlch(68.31, 59.60, 307.02°)
OKLaboklab(74.13% 0.0757 -0.133)
OKLCHoklch(74.13% 0.153 299.6)
XYZxyz(48.4090, 38.3981, 97.7707)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93FD #D6FD93
analogous
#93A1FD #BA93FD #EF93FD
triadic
#BA93FD #FDBA93 #93FDBA
tetradic
#BA93FD #FD93A1 #D6FD93 #93FDEF
square
#BA93FD #FD93A1 #D6FD93 #93FDEF
split-complementary
#BA93FD #FDEF93 #A1FD93
monochromatic
#6D1BFB #9457FC #BA93FD #E0CFFE #ECE1FE

Accessibility & contrast

On white

2.42
#BA93FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#BA93FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93FD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93FD#FFFFFF#000000##000000
##BA93FD1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#ADA5BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba93fd;
/* rgb */ color: rgb(186, 147, 253);
/* oklch */ color: oklch(74.1% 0.153 299.6);
Tailwind
colors: {
  custom: {
    50: '#d1b3fe',
    500: '#ba93fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba93fd;
$custom-light: #d1b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93fd",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 262.075,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74127,
    "c": 0.15302,
    "h": 299.6
  },
  "luminance": 0.38398
}

Semantic roles & 50–950 ramp

primary
#BA93FD
secondary
#EAF7D4
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA93FD

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

Preview Lab → · Contrast checker → · Palette generator →

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