#BA65F4#BA65F4

#BA65F4 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.213 H 309.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA65F4
RGBrgb(186, 101, 244)
HSLhsl(276, 87%, 68%)
HSVhsv(276, 59%, 96%)
CMYKcmyk(23.8%, 58.6%, 0%, 4.3%)
CIE-LABlab(58.30, 58.23, -58.52)
CIE-LCHlch(58.30, 82.56, 314.86°)
OKLaboklab(66.54% 0.1344 -0.1648)
OKLCHoklch(66.54% 0.213 309.2)
XYZxyz(41.2293, 26.2788, 88.4708)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65F4 #9FF465
analogous
#7265F4 #BA65F4 #F465E7
triadic
#BA65F4 #F4BA65 #65F4BA
tetradic
#BA65F4 #F47265 #9FF465 #65E7F4
square
#BA65F4 #F47265 #9FF465 #65E7F4
split-complementary
#BA65F4 #E7F465 #65F472
monochromatic
#820FD0 #A02CF0 #BA65F4 #D49EF8 #EDD7FC

Accessibility & contrast

On white

3.36
#BA65F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA65F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65F4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65F4#FFFFFF#000000##000000
##BA65F41.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#538DF1
Tritanopia (blue-blind)
#B280A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba65f4;
/* rgb */ color: rgb(186, 101, 244);
/* oklch */ color: oklch(66.5% 0.213 309.2);
Tailwind
colors: {
  custom: {
    50: '#d295f8',
    500: '#ba65f4',
    950: '#000000',
  },
}
SCSS
$custom: #ba65f4;
$custom-light: #d295f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65f4",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 244
  },
  "hsl": {
    "h": 275.664,
    "s": 86.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66541,
    "c": 0.21262,
    "h": 309.2
  },
  "luminance": 0.26278
}

Semantic roles & 50–950 ramp

primary
#BA65F4
secondary
#D6F1C4
accent
#E3025E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65F4

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

Preview Lab → · Contrast checker → · Palette generator →

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