#BA46CD#BA46CD

#BA46CD is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.217 H 321.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA46CD
RGBrgb(186, 70, 205)
HSLhsl(292, 57%, 54%)
HSVhsv(292, 66%, 80%)
CMYKcmyk(9.3%, 65.9%, 0%, 19.6%)
CIE-LABlab(50.95, 64.45, -48.25)
CIE-LCHlch(50.95, 80.51, 323.18°)
OKLaboklab(60.51% 0.1707 -0.1346)
OKLCHoklch(60.51% 0.217 321.7)
XYZxyz(33.4581, 19.2290, 59.6950)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46CD #59CD46
analogous
#7746CD #BA46CD #CD469C
triadic
#BA46CD #CDBA46 #46CDBA
tetradic
#BA46CD #CD7746 #59CD46 #469CCD
square
#BA46CD #CD7746 #59CD46 #469CCD
split-complementary
#BA46CD #9CCD46 #46CD77
monochromatic
#6C2078 #972DA8 #BA46CD #CC76DA #DEA6E7

Accessibility & contrast

On white

4.33
#BA46CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA46CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46CD#FFFFFF#000000##000000
##BA46CD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#BC5D84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba46cd;
/* rgb */ color: rgb(186, 70, 205);
/* oklch */ color: oklch(60.5% 0.217 321.7);
Tailwind
colors: {
  custom: {
    50: '#d282dd',
    500: '#ba46cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba46cd;
$custom-light: #d282dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46cd",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 291.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.21737,
    "h": 321.7
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#BA46CD
secondary
#A3D49B
accent
#E1475D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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