#BA96CD#BA96CD

#BA96CD is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.5% C 0.087 H 313.7°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BA96CD
RGBrgb(186, 150, 205)
HSLhsl(279, 35%, 70%)
HSVhsv(279, 27%, 80%)
CMYKcmyk(9.3%, 26.8%, 0%, 19.6%)
CIE-LABlab(67.02, 23.51, -23.16)
CIE-LCHlch(67.02, 33.01, 315.43°)
OKLaboklab(72.49% 0.0604 -0.0631)
OKLCHoklch(72.49% 0.087 313.7)
XYZxyz(42.1737, 36.6602, 62.6002)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA96CD #A9CD96
analogous
#9F96CD #BA96CD #CD96C5
triadic
#BA96CD #CDBA96 #96CDBA
tetradic
#BA96CD #CD9F96 #A9CD96 #96C5CD
square
#BA96CD #CD9F96 #A9CD96 #96C5CD
split-complementary
#BA96CD #C5CD96 #96CD9F
monochromatic
#814B9E #9F6DB9 #BA96CD #D5BFE1 #F0E9F4

Accessibility & contrast

On white

2.52
#BA96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BA96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA96CD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA96CD#FFFFFF#000000##000000
##BA96CD1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#B99DA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba96cd;
/* rgb */ color: rgb(186, 150, 205);
/* oklch */ color: oklch(72.5% 0.087 313.7);
Tailwind
colors: {
  custom: {
    50: '#cfb5dc',
    500: '#ba96cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba96cd;
$custom-light: #cfb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba96cd",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 279.273,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.08733,
    "h": 313.7
  },
  "luminance": 0.3666
}

Semantic roles & 50–950 ramp

primary
#BA96CD
secondary
#DDE7D8
accent
#AE3760
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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