#BA75CD#BA75CD

#BA75CD is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.8% C 0.145 H 318.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BA75CD
RGBrgb(186, 117, 205)
HSLhsl(287, 47%, 63%)
HSVhsv(287, 43%, 80%)
CMYKcmyk(9.3%, 42.9%, 0%, 19.6%)
CIE-LABlab(59.50, 41.71, -34.78)
CIE-LCHlch(59.50, 54.31, 320.18°)
OKLaboklab(66.79% 0.1093 -0.0959)
OKLCHoklch(66.79% 0.145 318.7)
XYZxyz(37.6290, 27.5707, 61.0853)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75CD #88CD75
analogous
#8E75CD #BA75CD #CD75B4
triadic
#BA75CD #CDBA75 #75CDBA
tetradic
#BA75CD #CD8E75 #88CD75 #75B4CD
square
#BA75CD #CD8E75 #88CD75 #75B4CD
split-complementary
#BA75CD #B4CD75 #75CD8E
monochromatic
#7E3593 #A448BD #BA75CD #D0A2DD #E7CFEE

Accessibility & contrast

On white

3.22
#BA75CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BA75CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75CD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75CD#FFFFFF#000000##000000
##BA75CD1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD0
Deuteranopia (green-blind)
#7A92CA
Tritanopia (blue-blind)
#BA8097
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba75cd;
/* rgb */ color: rgb(186, 117, 205);
/* oklch */ color: oklch(66.8% 0.145 318.7);
Tailwind
colors: {
  custom: {
    50: '#d09edc',
    500: '#ba75cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba75cd;
$custom-light: #d09edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75cd",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 287.045,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66786,
    "c": 0.14542,
    "h": 318.7
  },
  "luminance": 0.27569
}

Semantic roles & 50–950 ramp

primary
#BA75CD
secondary
#C6DFBF
accent
#BA2B4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA75CD

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

Preview Lab → · Contrast checker → · Palette generator →

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