#BA55ED#BA55ED

#BA55ED is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.227 H 312.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BA55ED
RGBrgb(186, 85, 237)
HSLhsl(280, 81%, 63%)
HSVhsv(280, 64%, 93%)
CMYKcmyk(21.5%, 64.1%, 0%, 7.1%)
CIE-LABlab(55.13, 64.28, -59.71)
CIE-LCHlch(55.13, 87.73, 317.11°)
OKLaboklab(64.11% 0.1531 -0.1682)
OKLCHoklch(64.11% 0.227 312.3)
XYZxyz(38.7815, 23.0516, 82.5108)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55ED #88ED55
analogous
#6E55ED #BA55ED #ED55D4
triadic
#BA55ED #EDBA55 #55EDBA
tetradic
#BA55ED #ED6E55 #88ED55 #55D4ED
square
#BA55ED #ED6E55 #88ED55 #55D4ED
split-complementary
#BA55ED #D4ED55 #55ED6E
monochromatic
#7E13B4 #A41EE7 #BA55ED #D08CF3 #E7C4F9

Accessibility & contrast

On white

3.74
#BA55ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BA55ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55ED
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55ED#FFFFFF#000000##000000
##BA55ED1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#B4739A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba55ed;
/* rgb */ color: rgb(186, 85, 237);
/* oklch */ color: oklch(64.1% 0.227 312.3);
Tailwind
colors: {
  custom: {
    50: '#d38bf4',
    500: '#ba55ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ed;
$custom-light: #d38bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ed",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 279.868,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.22745,
    "h": 312.3
  },
  "luminance": 0.23051
}

Semantic roles & 50–950 ramp

primary
#BA55ED
secondary
#C6EAB4
accent
#DD0850
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA55ED

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

Preview Lab → · Contrast checker → · Palette generator →

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