#BA75CB#BA75CB

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

Color values

HEX#BA75CB
RGBrgb(186, 117, 203)
HSLhsl(288, 45%, 63%)
HSVhsv(288, 42%, 80%)
CMYKcmyk(8.4%, 42.4%, 0%, 20.4%)
CIE-LABlab(59.41, 41.31, -33.79)
CIE-LCHlch(59.41, 53.37, 320.72°)
OKLaboklab(66.69% 0.109 -0.093)
OKLCHoklch(66.69% 0.143 319.5)
XYZxyz(37.3891, 27.4747, 59.8220)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75CB #86CB75
analogous
#8F75CB #BA75CB #CB75B1
triadic
#BA75CB #CBBA75 #75CBBA
tetradic
#BA75CB #CB8F75 #86CB75 #75B1CB
square
#BA75CB #CB8F75 #86CB75 #75B1CB
split-complementary
#BA75CB #B1CB75 #75CB8F
monochromatic
#7E3690 #A449BA #BA75CB #D0A1DC #E6CEEC

Accessibility & contrast

On white

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

On black

6.49
#BA75CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75CB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75CB#FFFFFF#000000##000000
##BA75CB1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#7B92C8
Tritanopia (blue-blind)
#BB8096
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba75cb;
/* rgb */ color: rgb(186, 117, 203);
/* oklch */ color: oklch(66.7% 0.143 319.5);
Tailwind
colors: {
  custom: {
    50: '#d09edb',
    500: '#ba75cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba75cb;
$custom-light: #d09edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75cb",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 288.14,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66692,
    "c": 0.14327,
    "h": 319.5
  },
  "luminance": 0.27473
}

Semantic roles & 50–950 ramp

primary
#BA75CB
secondary
#C4DDBE
accent
#B82D49
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA75CB

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

Preview Lab → · Contrast checker → · Palette generator →

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