#BA3CED#BA3CED

#BA3CED is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.6% C 0.256 H 313.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA3CED
RGBrgb(186, 60, 237)
HSLhsl(283, 83%, 58%)
HSVhsv(283, 75%, 93%)
CMYKcmyk(21.5%, 74.7%, 0%, 7.1%)
CIE-LABlab(51.59, 74.21, -65.39)
CIE-LCHlch(51.59, 98.92, 318.61°)
OKLaboklab(61.59% 0.1778 -0.1847)
OKLCHoklch(61.59% 0.256 313.9)
XYZxyz(37.1490, 19.7865, 81.9666)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CED #6FED3C
analogous
#613CED #BA3CED #ED3CC7
triadic
#BA3CED #EDBA3C #3CEDBA
tetradic
#BA3CED #ED613C #6FED3C #3CC7ED
square
#BA3CED #ED613C #6FED3C #3CC7ED
split-complementary
#BA3CED #C7ED3C #3CED61
monochromatic
#760FA0 #9F14D8 #BA3CED #CE74F2 #E2ACF7

Accessibility & contrast

On white

4.24
#BA3CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA3CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3CED
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CED#FFFFFF#000000##000000
##BA3CED1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#B56493
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba3ced;
/* rgb */ color: rgb(186, 60, 237);
/* oklch */ color: oklch(61.6% 0.256 313.9);
Tailwind
colors: {
  custom: {
    50: '#d47ef4',
    500: '#ba3ced',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ced;
$custom-light: #d47ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ced",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 237
  },
  "hsl": {
    "h": 282.712,
    "s": 83.099,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.25641,
    "h": 313.9
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#BA3CED
secondary
#B3E69F
accent
#F92E69
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA3CED

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

Preview Lab → · Contrast checker → · Palette generator →

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