#BA65CE#BA65CE

#BA65CE is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.4% C 0.173 H 319.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA65CE
RGBrgb(186, 101, 206)
HSLhsl(289, 52%, 60%)
HSVhsv(289, 51%, 81%)
CMYKcmyk(9.7%, 51%, 0%, 19.2%)
CIE-LABlab(56.29, 50.30, -40.37)
CIE-LCHlch(56.29, 64.50, 321.25°)
OKLaboklab(64.42% 0.1321 -0.1119)
OKLCHoklch(64.42% 0.173 319.7)
XYZxyz(36.0426, 24.2041, 61.1539)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65CE #79CE65
analogous
#8565CE #BA65CE #CE65AE
triadic
#BA65CE #CEBA65 #65CEBA
tetradic
#BA65CE #CE8565 #79CE65 #65AECE
square
#BA65CE #CE8565 #79CE65 #65AECE
split-complementary
#BA65CE #AECE65 #65CE85
monochromatic
#7A2D8C #A23BBA #BA65CE #CF93DD #E4C2EC

Accessibility & contrast

On white

3.60
#BA65CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#BA65CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65CE#FFFFFF#000000##000000
##BA65CE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#BB7490
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba65ce;
/* rgb */ color: rgb(186, 101, 206);
/* oklch */ color: oklch(64.4% 0.173 319.7);
Tailwind
colors: {
  custom: {
    50: '#d194dd',
    500: '#ba65ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba65ce;
$custom-light: #d194dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65ce",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 288.571,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.17312,
    "h": 319.7
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#BA65CE
secondary
#BBDCB3
accent
#BF2643
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA65CE

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

Preview Lab → · Contrast checker → · Palette generator →

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