#BA46D3#BA46D3

#BA46D3 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.223 H 320.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA46D3
RGBrgb(186, 70, 211)
HSLhsl(289, 62%, 55%)
HSVhsv(289, 67%, 83%)
CMYKcmyk(11.8%, 66.8%, 0%, 17.3%)
CIE-LABlab(51.29, 65.55, -51.14)
CIE-LCHlch(51.29, 83.14, 322.04°)
OKLaboklab(60.86% 0.1706 -0.143)
OKLCHoklch(60.86% 0.223 320)
XYZxyz(34.1963, 19.5242, 63.5827)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46D3 #5FD346
analogous
#7446D3 #BA46D3 #D346A5
triadic
#BA46D3 #D3BA46 #46D3BA
tetradic
#BA46D3 #D37446 #5FD346 #46A5D3
square
#BA46D3 #D37446 #5FD346 #46A5D3
split-complementary
#BA46D3 #A5D346 #46D374
monochromatic
#6F1E80 #9A2AB2 #BA46D3 #CC77DF #DFA9EB

Accessibility & contrast

On white

4.28
#BA46D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BA46D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46D3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46D3#FFFFFF#000000##000000
##BA46D31.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1172D7
Deuteranopia (green-blind)
#527ED0
Tritanopia (blue-blind)
#BB5F87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba46d3;
/* rgb */ color: rgb(186, 70, 211);
/* oklch */ color: oklch(60.9% 0.223 320.0);
Tailwind
colors: {
  custom: {
    50: '#d282e1',
    500: '#ba46d3',
    950: '#000000',
  },
}
SCSS
$custom: #ba46d3;
$custom-light: #d282e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46d3",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 289.362,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.22262,
    "h": 320
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#BA46D3
secondary
#A7D89D
accent
#E54360
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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