#BA65E9#BA65E9

#BA65E9 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.201 H 311.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA65E9
RGBrgb(186, 101, 233)
HSLhsl(279, 75%, 65%)
HSVhsv(279, 57%, 91%)
CMYKcmyk(20.2%, 56.7%, 0%, 8.6%)
CIE-LABlab(57.68, 55.86, -53.38)
CIE-LCHlch(57.68, 77.27, 316.30°)
OKLaboklab(65.89% 0.1342 -0.1497)
OKLCHoklch(65.89% 0.201 311.9)
XYZxyz(39.6087, 25.6306, 79.9357)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65E9 #94E965
analogous
#7865E9 #BA65E9 #E965D6
triadic
#BA65E9 #E9BA65 #65E9BA
tetradic
#BA65E9 #E97865 #94E965 #65D6E9
square
#BA65E9 #E97865 #94E965 #65D6E9
split-complementary
#BA65E9 #D6E965 #65E978
monochromatic
#811AB9 #A22FE1 #BA65E9 #D29BF1 #EAD0F8

Accessibility & contrast

On white

3.43
#BA65E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA65E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65E9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65E9#FFFFFF#000000##000000
##BA65E91.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#5C8CE6
Tritanopia (blue-blind)
#B57C9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba65e9;
/* rgb */ color: rgb(186, 101, 233);
/* oklch */ color: oklch(65.9% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#d294f1',
    500: '#ba65e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba65e9;
$custom-light: #d294f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65e9",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 278.636,
    "s": 75,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65893,
    "c": 0.20104,
    "h": 311.9
  },
  "luminance": 0.2563
}

Semantic roles & 50–950 ramp

primary
#BA65E9
secondary
#CFEBBF
accent
#D70E56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65E9

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

Preview Lab → · Contrast checker → · Palette generator →

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