#BA94FC#BA94FC

#BA94FC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.2% C 0.150 H 299.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BA94FC
RGBrgb(186, 148, 252)
HSLhsl(262, 95%, 78%)
HSVhsv(262, 41%, 99%)
CMYKcmyk(26.2%, 41.3%, 0%, 1.2%)
CIE-LABlab(68.49, 35.09, -46.75)
CIE-LCHlch(68.49, 58.46, 306.89°)
OKLaboklab(74.25% 0.0741 -0.1306)
OKLCHoklch(74.25% 0.15 299.6)
XYZxyz(48.4063, 38.6469, 96.9860)
Luminance0.3865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94FC #D6FC94
analogous
#94A2FC #BA94FC #EE94FC
triadic
#BA94FC #FCBA94 #94FCBA
tetradic
#BA94FC #FC94A2 #D6FC94 #94FCEE
square
#BA94FC #FC94A2 #D6FC94 #94FCEE
split-complementary
#BA94FC #FCEE94 #A2FC94
monochromatic
#6D1DF9 #9458FA #BA94FC #E0D0FE #ECE1FE

Accessibility & contrast

On white

2.41
#BA94FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BA94FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94FC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94FC#FFFFFF#000000##000000
##BA94FC1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba94fc;
/* rgb */ color: rgb(186, 148, 252);
/* oklch */ color: oklch(74.2% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#d1b4fe',
    500: '#ba94fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba94fc;
$custom-light: #d1b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94fc",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 261.923,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.15018,
    "h": 299.6
  },
  "luminance": 0.38647
}

Semantic roles & 50–950 ramp

primary
#BA94FC
secondary
#EAF6D5
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA94FC

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

Preview Lab → · Contrast checker → · Palette generator →

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