#BA65ED#BA65ED

#BA65ED is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.205 H 310.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA65ED
RGBrgb(186, 101, 237)
HSLhsl(278, 79%, 66%)
HSVhsv(278, 57%, 93%)
CMYKcmyk(21.5%, 57.4%, 0%, 7.1%)
CIE-LABlab(57.91, 56.72, -55.26)
CIE-LCHlch(57.91, 79.19, 315.75°)
OKLaboklab(66.13% 0.1343 -0.1552)
OKLCHoklch(66.13% 0.205 310.9)
XYZxyz(40.1866, 25.8617, 82.9792)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65ED #98ED65
analogous
#7665ED #BA65ED #ED65DC
triadic
#BA65ED #EDBA65 #65EDBA
tetradic
#BA65ED #ED7665 #98ED65 #65DCED
square
#BA65ED #ED7665 #98ED65 #65DCED
split-complementary
#BA65ED #DCED65 #65ED76
monochromatic
#8117C1 #A12EE7 #BA65ED #D39CF3 #EBD3FA

Accessibility & contrast

On white

3.40
#BA65ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA65ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65ED
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65ED#FFFFFF#000000##000000
##BA65ED1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#B47EA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba65ed;
/* rgb */ color: rgb(186, 101, 237);
/* oklch */ color: oklch(66.1% 0.205 310.9);
Tailwind
colors: {
  custom: {
    50: '#d294f3',
    500: '#ba65ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba65ed;
$custom-light: #d294f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65ed",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 237
  },
  "hsl": {
    "h": 277.5,
    "s": 79.07,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66125,
    "c": 0.20524,
    "h": 310.9
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#BA65ED
secondary
#D1EDC1
accent
#DB0A59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65ED

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

Preview Lab → · Contrast checker → · Palette generator →

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