#BA65DB#BA65DB

#BA65DB is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.1% C 0.186 H 315.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA65DB
RGBrgb(186, 101, 219)
HSLhsl(283, 62%, 63%)
HSVhsv(283, 54%, 86%)
CMYKcmyk(15.1%, 53.9%, 0%, 14.1%)
CIE-LABlab(56.94, 52.93, -46.70)
CIE-LCHlch(56.94, 70.59, 318.58°)
OKLaboklab(65.11% 0.1334 -0.1303)
OKLCHoklch(65.11% 0.186 315.7)
XYZxyz(37.6876, 24.8621, 69.8177)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65DB #86DB65
analogous
#7F65DB #BA65DB #DB65C1
triadic
#BA65DB #DBBA65 #65DBBA
tetradic
#BA65DB #DB7F65 #86DB65 #65C1DB
square
#BA65DB #DB7F65 #86DB65 #65C1DB
split-complementary
#BA65DB #C1DB65 #65DB7F
monochromatic
#7E25A0 #A433CF #BA65DB #D097E7 #E6C8F2

Accessibility & contrast

On white

3.52
#BA65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BA65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65DB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65DB#FFFFFF#000000##000000
##BA65DB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#B87897
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba65db;
/* rgb */ color: rgb(186, 101, 219);
/* oklch */ color: oklch(65.1% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#d194e6',
    500: '#ba65db',
    950: '#000000',
  },
}
SCSS
$custom: #ba65db;
$custom-light: #d194e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65db",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 283.22,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65106,
    "c": 0.18643,
    "h": 315.7
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#BA65DB
secondary
#C4E3B9
accent
#CA1C4C
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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