#BA65F7#BA65F7

#BA65F7 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.7% C 0.216 H 308.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#BA65F7
RGBrgb(186, 101, 247)
HSLhsl(275, 90%, 68%)
HSVhsv(275, 59%, 97%)
CMYKcmyk(24.7%, 59.1%, 0%, 3.1%)
CIE-LABlab(58.47, 58.89, -59.91)
CIE-LCHlch(58.47, 84.01, 314.51°)
OKLaboklab(66.72% 0.1343 -0.1688)
OKLCHoklch(66.72% 0.216 308.5)
XYZxyz(41.6885, 26.4625, 90.8893)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65F7 #A2F765
analogous
#7165F7 #BA65F7 #F765EB
triadic
#BA65F7 #F7BA65 #65F7BA
tetradic
#BA65F7 #F77165 #A2F765 #65EBF7
square
#BA65F7 #F77165 #A2F765 #65EBF7
split-complementary
#BA65F7 #EBF765 #65F771
monochromatic
#820BD6 #A02BF4 #BA65F7 #D49FFA #EED9FD

Accessibility & contrast

On white

3.34
#BA65F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#BA65F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65F7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65F7#FFFFFF#000000##000000
##BA65F71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FC
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#B181A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba65f7;
/* rgb */ color: rgb(186, 101, 247);
/* oklch */ color: oklch(66.7% 0.216 308.5);
Tailwind
colors: {
  custom: {
    50: '#d295fa',
    500: '#ba65f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba65f7;
$custom-light: #d295fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65f7",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 247
  },
  "hsl": {
    "h": 274.932,
    "s": 90.123,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66722,
    "c": 0.21577,
    "h": 308.5
  },
  "luminance": 0.26462
}

Semantic roles & 50–950 ramp

primary
#BA65F7
secondary
#D8F2C6
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA65F7

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

Preview Lab → · Contrast checker → · Palette generator →

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