#BA65F2#BA65F2

#BA65F2 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.211 H 309.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA65F2
RGBrgb(186, 101, 242)
HSLhsl(276, 84%, 67%)
HSVhsv(276, 58%, 95%)
CMYKcmyk(23.1%, 58.3%, 0%, 5.1%)
CIE-LABlab(58.19, 57.80, -57.59)
CIE-LCHlch(58.19, 81.59, 315.10°)
OKLaboklab(66.42% 0.1343 -0.1621)
OKLCHoklch(66.42% 0.211 309.7)
XYZxyz(40.9273, 26.1580, 86.8802)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65F2 #9DF265
analogous
#7465F2 #BA65F2 #F265E4
triadic
#BA65F2 #F2BA65 #65F2BA
tetradic
#BA65F2 #F27465 #9DF265 #65E4F2
square
#BA65F2 #F27465 #9DF265 #65E4F2
split-complementary
#BA65F2 #E4F265 #65F274
monochromatic
#8111CB #A12DED #BA65F2 #D39DF7 #EDD6FC

Accessibility & contrast

On white

3.37
#BA65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#BA65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65F2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65F2#FFFFFF#000000##000000
##BA65F21.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#B27FA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba65f2;
/* rgb */ color: rgb(186, 101, 242);
/* oklch */ color: oklch(66.4% 0.211 309.7);
Tailwind
colors: {
  custom: {
    50: '#d295f7',
    500: '#ba65f2',
    950: '#000000',
  },
}
SCSS
$custom: #ba65f2;
$custom-light: #d295f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65f2",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 276.17,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66421,
    "c": 0.21051,
    "h": 309.7
  },
  "luminance": 0.26157
}

Semantic roles & 50–950 ramp

primary
#BA65F2
secondary
#D5F0C3
accent
#E1055C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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