#BA75CC#BA75CC

#BA75CC is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.7% C 0.144 H 319.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#BA75CC
RGBrgb(186, 117, 204)
HSLhsl(288, 46%, 63%)
HSVhsv(288, 43%, 80%)
CMYKcmyk(8.8%, 42.6%, 0%, 20%)
CIE-LABlab(59.45, 41.51, -34.28)
CIE-LCHlch(59.45, 53.84, 320.45°)
OKLaboklab(66.74% 0.1091 -0.0945)
OKLCHoklch(66.74% 0.144 319.1)
XYZxyz(37.5086, 27.5225, 60.4516)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75CC #87CC75
analogous
#8E75CC #BA75CC #CC75B3
triadic
#BA75CC #CCBA75 #75CCBA
tetradic
#BA75CC #CC8E75 #87CC75 #75B3CC
square
#BA75CC #CC8E75 #87CC75 #75B3CC
split-complementary
#BA75CC #B3CC75 #75CC8E
monochromatic
#7E3691 #A448BB #BA75CC #D0A2DD #E7CEED

Accessibility & contrast

On white

3.23
#BA75CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#BA75CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75CC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75CC#FFFFFF#000000##000000
##BA75CC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#7A92C9
Tritanopia (blue-blind)
#BB8097
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba75cc;
/* rgb */ color: rgb(186, 117, 204);
/* oklch */ color: oklch(66.7% 0.144 319.1);
Tailwind
colors: {
  custom: {
    50: '#d09edc',
    500: '#ba75cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba75cc;
$custom-light: #d09edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75cc",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 287.586,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.14435,
    "h": 319.1
  },
  "luminance": 0.27521
}

Semantic roles & 50–950 ramp

primary
#BA75CC
secondary
#C5DEBF
accent
#B92C49
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA75CC

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

Preview Lab → · Contrast checker → · Palette generator →

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