#BA46E9#BA46E9

#BA46E9 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.2% C 0.242 H 314.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA46E9
RGBrgb(186, 70, 233)
HSLhsl(283, 79%, 59%)
HSVhsv(283, 70%, 91%)
CMYKcmyk(20.2%, 70%, 0%, 8.6%)
CIE-LABlab(52.62, 69.77, -61.49)
CIE-LCHlch(52.62, 92.99, 318.61°)
OKLaboklab(62.24% 0.1692 -0.1733)
OKLCHoklch(62.24% 0.242 314.3)
XYZxyz(37.1454, 20.7039, 79.1145)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46E9 #75E946
analogous
#6846E9 #BA46E9 #E946C7
triadic
#BA46E9 #E9BA46 #46E9BA
tetradic
#BA46E9 #E96846 #75E946 #46C7E9
square
#BA46E9 #E96846 #75E946 #46C7E9
split-complementary
#BA46E9 #C7E946 #46E968
monochromatic
#7813A1 #A11AD8 #BA46E9 #CE7DF0 #E3B3F6

Accessibility & contrast

On white

4.09
#BA46E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA46E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46E9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46E9#FFFFFF#000000##000000
##BA46E91.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#3D80E5
Tritanopia (blue-blind)
#B66893
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba46e9;
/* rgb */ color: rgb(186, 70, 233);
/* oklch */ color: oklch(62.2% 0.242 314.3);
Tailwind
colors: {
  custom: {
    50: '#d383f1',
    500: '#ba46e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba46e9;
$custom-light: #d383f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46e9",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 282.699,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.24219,
    "h": 314.3
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#BA46E9
secondary
#B8E5A6
accent
#F5336B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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