#BA5DEE#BA5DEE

#BA5DEE is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.218 H 311.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5DEE
RGBrgb(186, 93, 238)
HSLhsl(278, 81%, 65%)
HSVhsv(278, 61%, 93%)
CMYKcmyk(21.8%, 60.9%, 0%, 6.7%)
CIE-LABlab(56.53, 60.80, -58.02)
CIE-LCHlch(56.53, 84.04, 316.34°)
OKLaboklab(65.14% 0.1439 -0.1633)
OKLCHoklch(65.14% 0.218 311.4)
XYZxyz(39.5938, 24.4418, 83.5043)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DEE #91EE5D
analogous
#725DEE #BA5DEE #EE5DD9
triadic
#BA5DEE #EEBA5D #5DEEBA
tetradic
#BA5DEE #EE725D #91EE5D #5DD9EE
square
#BA5DEE #EE725D #91EE5D #5DD9EE
split-complementary
#BA5DEE #D9EE5D #5DEE72
monochromatic
#8014BD #A226E8 #BA5DEE #D294F4 #E9CCFA

Accessibility & contrast

On white

3.57
#BA5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BA5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DEE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DEE#FFFFFF#000000##000000
##BA5DEE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F3
Deuteranopia (green-blind)
#5089EB
Tritanopia (blue-blind)
#B4799D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5dee;
/* rgb */ color: rgb(186, 93, 238);
/* oklch */ color: oklch(65.1% 0.218 311.4);
Tailwind
colors: {
  custom: {
    50: '#d290f4',
    500: '#ba5dee',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dee;
$custom-light: #d290f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dee",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 278.483,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.21765,
    "h": 311.4
  },
  "luminance": 0.24441
}

Semantic roles & 50–950 ramp

primary
#BA5DEE
secondary
#CCECBB
accent
#DD0855
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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