#BA93FC#BA93FC

#BA93FC is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.1% C 0.152 H 299.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#BA93FC
RGBrgb(186, 147, 252)
HSLhsl(262, 95%, 78%)
HSVhsv(262, 42%, 99%)
CMYKcmyk(26.2%, 41.7%, 0%, 1.2%)
CIE-LABlab(68.27, 35.64, -47.11)
CIE-LCHlch(68.27, 59.08, 307.11°)
OKLaboklab(74.08% 0.0755 -0.1316)
OKLCHoklch(74.08% 0.152 299.8)
XYZxyz(48.2501, 38.3346, 96.9339)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93FC #D5FC93
analogous
#93A0FC #BA93FC #EF93FC
triadic
#BA93FC #FCBA93 #93FCBA
tetradic
#BA93FC #FC93A0 #D5FC93 #93FCEF
square
#BA93FC #FC93A0 #D5FC93 #93FCEF
split-complementary
#BA93FC #FCEF93 #A0FC93
monochromatic
#6E1CF9 #9457FA #BA93FC #E0CFFE #ECE1FE

Accessibility & contrast

On white

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

On black

8.67
#BA93FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93FC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93FC#FFFFFF#000000##000000
##BA93FC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#7EA6F9
Tritanopia (blue-blind)
#ADA5BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba93fc;
/* rgb */ color: rgb(186, 147, 252);
/* oklch */ color: oklch(74.1% 0.152 299.8);
Tailwind
colors: {
  custom: {
    50: '#d1b3fe',
    500: '#ba93fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba93fc;
$custom-light: #d1b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93fc",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 262.286,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.15175,
    "h": 299.8
  },
  "luminance": 0.38335
}

Semantic roles & 50–950 ramp

primary
#BA93FC
secondary
#EAF6D5
accent
#E60090
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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