#BA50E6#BA50E6

#BA50E6 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.1% C 0.227 H 314.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA50E6
RGBrgb(186, 80, 230)
HSLhsl(282, 75%, 61%)
HSVhsv(282, 65%, 90%)
CMYKcmyk(19.1%, 65.2%, 0%, 9.8%)
CIE-LABlab(53.91, 65.05, -57.73)
CIE-LCHlch(53.91, 86.97, 318.41°)
OKLaboklab(63.1% 0.159 -0.1624)
OKLCHoklch(63.1% 0.227 314.4)
XYZxyz(37.3989, 21.8908, 77.1029)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50E6 #7CE650
analogous
#6F50E6 #BA50E6 #E650C7
triadic
#BA50E6 #E6BA50 #50E6BA
tetradic
#BA50E6 #E66F50 #7CE650 #50C7E6
square
#BA50E6 #E66F50 #7CE650 #50C7E6
split-complementary
#BA50E6 #C7E650 #50E66F
monochromatic
#7B17A4 #A31FDA #BA50E6 #CF86EE #E4BBF5

Accessibility & contrast

On white

3.90
#BA50E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BA50E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50E6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50E6#FFFFFF#000000##000000
##BA50E61.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4A84E2
Tritanopia (blue-blind)
#B66D94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba50e6;
/* rgb */ color: rgb(186, 80, 230);
/* oklch */ color: oklch(63.1% 0.227 314.4);
Tailwind
colors: {
  custom: {
    50: '#d388ef',
    500: '#ba50e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba50e6;
$custom-light: #d388ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50e6",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 282.4,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.22724,
    "h": 314.4
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#BA50E6
secondary
#BDE5AC
accent
#D70E49
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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