#BA61CD#BA61CD

#BA61CD is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.178 H 320.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA61CD
RGBrgb(186, 97, 205)
HSLhsl(289, 52%, 59%)
HSVhsv(289, 53%, 80%)
CMYKcmyk(9.3%, 52.7%, 0%, 19.6%)
CIE-LABlab(55.48, 52.12, -41.08)
CIE-LCHlch(55.48, 66.37, 321.76°)
OKLaboklab(63.8% 0.1374 -0.1139)
OKLCHoklch(63.8% 0.179 320.3)
XYZxyz(35.5425, 23.3978, 60.3898)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61CD #74CD61
analogous
#8461CD #BA61CD #CD61AA
triadic
#BA61CD #CDBA61 #61CDBA
tetradic
#BA61CD #CD8461 #74CD61 #61AACD
square
#BA61CD #CD8461 #74CD61 #61AACD
split-complementary
#BA61CD #AACD61 #61CD84
monochromatic
#782B88 #A13AB7 #BA61CD #CE8FDC #E3BEEA

Accessibility & contrast

On white

3.70
#BA61CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BA61CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61CD#FFFFFF#000000##000000
##BA61CD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#BB708E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba61cd;
/* rgb */ color: rgb(186, 97, 205);
/* oklch */ color: oklch(63.8% 0.178 320.3);
Tailwind
colors: {
  custom: {
    50: '#d191dc',
    500: '#ba61cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba61cd;
$custom-light: #d191dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61cd",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 289.444,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.1785,
    "h": 320.3
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#BA61CD
secondary
#B7DAB0
accent
#DB4C66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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