#BA65F8#BA65F8

#BA65F8 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.8% C 0.217 H 308.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BA65F8
RGBrgb(186, 101, 248)
HSLhsl(275, 91%, 68%)
HSVhsv(275, 59%, 97%)
CMYKcmyk(25%, 59.3%, 0%, 2.7%)
CIE-LABlab(58.53, 59.11, -60.37)
CIE-LCHlch(58.53, 84.49, 314.39°)
OKLaboklab(66.78% 0.1343 -0.1702)
OKLCHoklch(66.78% 0.217 308.3)
XYZxyz(41.8432, 26.5244, 91.7041)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65F8 #A3F865
analogous
#7065F8 #BA65F8 #F865EC
triadic
#BA65F8 #F8BA65 #65F8BA
tetradic
#BA65F8 #F87065 #A3F865 #65ECF8
square
#BA65F8 #F87065 #A3F865 #65ECF8
split-complementary
#BA65F8 #ECF865 #65F870
monochromatic
#810AD9 #A02AF5 #BA65F8 #D4A0FB #EEDAFD

Accessibility & contrast

On white

3.33
#BA65F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BA65F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65F8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65F8#FFFFFF#000000##000000
##BA65F81.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FD
Deuteranopia (green-blind)
#4F8EF5
Tritanopia (blue-blind)
#B181A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba65f8;
/* rgb */ color: rgb(186, 101, 248);
/* oklch */ color: oklch(66.8% 0.217 308.3);
Tailwind
colors: {
  custom: {
    50: '#d295fb',
    500: '#ba65f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba65f8;
$custom-light: #d295fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65f8",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 274.694,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.21684,
    "h": 308.3
  },
  "luminance": 0.26524
}

Semantic roles & 50–950 ramp

primary
#BA65F8
secondary
#D9F3C6
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA65F8

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

Preview Lab → · Contrast checker → · Palette generator →

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