#BA94FD#BA94FD

#BA94FD is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.3% C 0.151 H 299.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#BA94FD
RGBrgb(186, 148, 253)
HSLhsl(262, 96%, 79%)
HSVhsv(262, 42%, 99%)
CMYKcmyk(26.5%, 41.5%, 0%, 0.8%)
CIE-LABlab(68.54, 35.33, -47.22)
CIE-LCHlch(68.54, 58.98, 306.80°)
OKLaboklab(74.3% 0.0743 -0.132)
OKLCHoklch(74.3% 0.151 299.4)
XYZxyz(48.5651, 38.7105, 97.8227)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94FD #D7FD94
analogous
#94A2FD #BA94FD #EE94FD
triadic
#BA94FD #FDBA94 #94FDBA
tetradic
#BA94FD #FD94A2 #D7FD94 #94FDEE
square
#BA94FD #FD94A2 #D7FD94 #94FDEE
split-complementary
#BA94FD #FDEE94 #A2FD94
monochromatic
#6D1CFB #9358FC #BA94FD #E1D0FE #ECE1FE

Accessibility & contrast

On white

2.40
#BA94FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BA94FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94FD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94FD#FFFFFF#000000##000000
##BA94FD1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#ADA6BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba94fd;
/* rgb */ color: rgb(186, 148, 253);
/* oklch */ color: oklch(74.3% 0.151 299.4);
Tailwind
colors: {
  custom: {
    50: '#d1b4fe',
    500: '#ba94fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba94fd;
$custom-light: #d1b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94fd",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 253
  },
  "hsl": {
    "h": 261.714,
    "s": 96.33,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.15145,
    "h": 299.4
  },
  "luminance": 0.38711
}

Semantic roles & 50–950 ramp

primary
#BA94FD
secondary
#EAF7D4
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA94FD

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

Preview Lab → · Contrast checker → · Palette generator →

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