#BA46E7#BA46E7

#BA46E7 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.240 H 314.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA46E7
RGBrgb(186, 70, 231)
HSLhsl(283, 77%, 59%)
HSVhsv(283, 70%, 91%)
CMYKcmyk(19.5%, 69.7%, 0%, 9.4%)
CIE-LABlab(52.50, 69.38, -60.56)
CIE-LCHlch(52.50, 92.09, 318.88°)
OKLaboklab(62.11% 0.1694 -0.1706)
OKLCHoklch(62.11% 0.24 314.8)
XYZxyz(36.8613, 20.5902, 77.6184)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46E7 #73E746
analogous
#6A46E7 #BA46E7 #E746C3
triadic
#BA46E7 #E7BA46 #46E7BA
tetradic
#BA46E7 #E76A46 #73E746 #46C3E7
square
#BA46E7 #E76A46 #73E746 #46C3E7
split-complementary
#BA46E7 #C3E746 #46E76A
monochromatic
#78159E #A11CD4 #BA46E7 #CE7CEE #E2B2F5

Accessibility & contrast

On white

4.10
#BA46E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BA46E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46E7#FFFFFF#000000##000000
##BA46E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#B66792
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba46e7;
/* rgb */ color: rgb(186, 70, 231);
/* oklch */ color: oklch(62.1% 0.240 314.8);
Tailwind
colors: {
  custom: {
    50: '#d383ef',
    500: '#ba46e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba46e7;
$custom-light: #d383ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46e7",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 283.23,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.2404,
    "h": 314.8
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#BA46E7
secondary
#B6E4A5
accent
#F4346A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA46E7

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

Preview Lab → · Contrast checker → · Palette generator →

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