#BA65F5#BA65F5

#BA65F5 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.6% C 0.214 H 309.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA65F5
RGBrgb(186, 101, 245)
HSLhsl(275, 88%, 68%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(24.1%, 58.8%, 0%, 3.9%)
CIE-LABlab(58.36, 58.45, -58.99)
CIE-LCHlch(58.36, 83.04, 314.74°)
OKLaboklab(66.6% 0.1344 -0.1661)
OKLCHoklch(66.6% 0.214 309)
XYZxyz(41.3816, 26.3397, 89.2726)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65F5 #A0F565
analogous
#7265F5 #BA65F5 #F565E8
triadic
#BA65F5 #F5BA65 #65F5BA
tetradic
#BA65F5 #F57265 #A0F565 #65E8F5
square
#BA65F5 #F57265 #A0F565 #65E8F5
split-complementary
#BA65F5 #E8F565 #65F572
monochromatic
#820ED2 #A02CF1 #BA65F5 #D49EF9 #EDD8FC

Accessibility & contrast

On white

3.35
#BA65F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA65F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65F5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65F5#FFFFFF#000000##000000
##BA65F51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#528DF2
Tritanopia (blue-blind)
#B280A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba65f5;
/* rgb */ color: rgb(186, 101, 245);
/* oklch */ color: oklch(66.6% 0.214 309.0);
Tailwind
colors: {
  custom: {
    50: '#d295f9',
    500: '#ba65f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba65f5;
$custom-light: #d295f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65f5",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 275.417,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.21367,
    "h": 309
  },
  "luminance": 0.26339
}

Semantic roles & 50–950 ramp

primary
#BA65F5
secondary
#D7F1C5
accent
#E4015E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65F5

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

Preview Lab → · Contrast checker → · Palette generator →

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