#BA46EA#BA46EA

#BA46EA is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.243 H 314.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA46EA
RGBrgb(186, 70, 234)
HSLhsl(282, 80%, 60%)
HSVhsv(282, 70%, 92%)
CMYKcmyk(20.5%, 70.1%, 0%, 8.2%)
CIE-LABlab(52.69, 69.96, -61.95)
CIE-LCHlch(52.69, 93.45, 318.48°)
OKLaboklab(62.3% 0.1691 -0.1747)
OKLCHoklch(62.3% 0.243 314.1)
XYZxyz(37.2886, 20.7612, 79.8690)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46EA #76EA46
analogous
#6846EA #BA46EA #EA46C8
triadic
#BA46EA #EABA46 #46EABA
tetradic
#BA46EA #EA6846 #76EA46 #46C8EA
square
#BA46EA #EA6846 #76EA46 #46C8EA
split-complementary
#BA46EA #C8EA46 #46EA68
monochromatic
#7913A3 #A119DA #BA46EA #CE7DF0 #E3B4F6

Accessibility & contrast

On white

4.08
#BA46EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA46EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46EA#FFFFFF#000000##000000
##BA46EA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#3C81E6
Tritanopia (blue-blind)
#B56994
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba46ea;
/* rgb */ color: rgb(186, 70, 234);
/* oklch */ color: oklch(62.3% 0.243 314.1);
Tailwind
colors: {
  custom: {
    50: '#d383f1',
    500: '#ba46ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba46ea;
$custom-light: #d383f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46ea",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 234
  },
  "hsl": {
    "h": 282.439,
    "s": 79.612,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.24309,
    "h": 314.1
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#BA46EA
secondary
#B9E6A6
accent
#F6326B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA46EA

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

Preview Lab → · Contrast checker → · Palette generator →

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