#BA6CDD#BA6CDD

#BA6CDD is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.2% C 0.178 H 314.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#BA6CDD
RGBrgb(186, 108, 221)
HSLhsl(281, 62%, 65%)
HSVhsv(281, 51%, 87%)
CMYKcmyk(15.8%, 51.1%, 0%, 13.3%)
CIE-LABlab(58.40, 49.77, -45.52)
CIE-LCHlch(58.40, 67.45, 317.56°)
OKLaboklab(66.22% 0.1242 -0.1269)
OKLCHoklch(66.22% 0.178 314.4)
XYZxyz(38.6613, 26.3857, 71.4490)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CDD #8FDD6C
analogous
#826CDD #BA6CDD #DD6CC8
triadic
#BA6CDD #DDBA6C #6CDDBA
tetradic
#BA6CDD #DD826C #8FDD6C #6CC8DD
square
#BA6CDD #DD826C #8FDD6C #6CC8DD
split-complementary
#BA6CDD #C8DD6C #6CDD82
monochromatic
#8027A8 #A33AD2 #BA6CDD #D19EE8 #E9CFF4

Accessibility & contrast

On white

3.35
#BA6CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#BA6CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CDD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CDD#FFFFFF#000000##000000
##BA6CDD1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#B77E9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6cdd;
/* rgb */ color: rgb(186, 108, 221);
/* oklch */ color: oklch(66.2% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#d199e8',
    500: '#ba6cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cdd;
$custom-light: #d199e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cdd",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 281.416,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.17756,
    "h": 314.4
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#BA6CDD
secondary
#CBE6BF
accent
#CA1B51
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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