#BA65E6#BA65E6

#BA65E6 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.7% C 0.198 H 312.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA65E6
RGBrgb(186, 101, 230)
HSLhsl(280, 72%, 65%)
HSVhsv(280, 56%, 90%)
CMYKcmyk(19.1%, 56.1%, 0%, 9.8%)
CIE-LABlab(57.52, 55.23, -51.96)
CIE-LCHlch(57.52, 75.83, 316.74°)
OKLaboklab(65.72% 0.134 -0.1456)
OKLCHoklch(65.72% 0.198 312.6)
XYZxyz(39.1838, 25.4606, 77.6978)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65E6 #91E665
analogous
#7A65E6 #BA65E6 #E665D1
triadic
#BA65E6 #E6BA65 #65E6BA
tetradic
#BA65E6 #E67A65 #91E665 #65D1E6
square
#BA65E6 #E67A65 #91E665 #65D1E6
split-complementary
#BA65E6 #D1E665 #65E67A
monochromatic
#801DB3 #A230DD #BA65E6 #D29AEF #E9CEF7

Accessibility & contrast

On white

3.45
#BA65E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#BA65E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65E6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65E6#FFFFFF#000000##000000
##BA65E61.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#B67B9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba65e6;
/* rgb */ color: rgb(186, 101, 230);
/* oklch */ color: oklch(65.7% 0.198 312.6);
Tailwind
colors: {
  custom: {
    50: '#d294ee',
    500: '#ba65e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba65e6;
$custom-light: #d294ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65e6",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 279.535,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.1979,
    "h": 312.6
  },
  "luminance": 0.2546
}

Semantic roles & 50–950 ramp

primary
#BA65E6
secondary
#CCE9BD
accent
#D41154
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA65E6

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

Preview Lab → · Contrast checker → · Palette generator →

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