#BA61ED#BA61ED

#BA61ED is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.211 H 311.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA61ED
RGBrgb(186, 97, 237)
HSLhsl(278, 80%, 65%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.5%, 59.1%, 0%, 7.1%)
CIE-LABlab(57.18, 58.68, -56.42)
CIE-LCHlch(57.18, 81.40, 316.12°)
OKLaboklab(65.59% 0.1392 -0.1586)
OKLCHoklch(65.59% 0.211 311.3)
XYZxyz(39.8076, 25.1038, 82.8528)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61ED #94ED61
analogous
#7461ED #BA61ED #ED61DA
triadic
#BA61ED #EDBA61 #61EDBA
tetradic
#BA61ED #ED7461 #94ED61 #61DAED
square
#BA61ED #ED7461 #94ED61 #61DAED
split-complementary
#BA61ED #DAED61 #61ED74
monochromatic
#8116BE #A22AE7 #BA61ED #D298F3 #EACFFA

Accessibility & contrast

On white

3.49
#BA61ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BA61ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61ED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61ED#FFFFFF#000000##000000
##BA61ED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F1
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#B47B9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba61ed;
/* rgb */ color: rgb(186, 97, 237);
/* oklch */ color: oklch(65.6% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#d292f3',
    500: '#ba61ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba61ed;
$custom-light: #d292f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61ed",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 278.143,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65593,
    "c": 0.21102,
    "h": 311.3
  },
  "luminance": 0.25103
}

Semantic roles & 50–950 ramp

primary
#BA61ED
secondary
#CFECBD
accent
#DC0A56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61ED

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

Preview Lab → · Contrast checker → · Palette generator →

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