#BA94CD#BA94CD

#BA94CD is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.1% C 0.091 H 314.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BA94CD
RGBrgb(186, 148, 205)
HSLhsl(280, 36%, 69%)
HSVhsv(280, 28%, 80%)
CMYKcmyk(9.3%, 27.8%, 0%, 19.6%)
CIE-LABlab(66.54, 24.63, -23.90)
CIE-LCHlch(66.54, 34.32, 315.86°)
OKLaboklab(72.12% 0.0634 -0.0651)
OKLCHoklch(72.12% 0.091 314.2)
XYZxyz(41.8573, 36.0273, 62.4947)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94CD #A7CD94
analogous
#9E94CD #BA94CD #CD94C4
triadic
#BA94CD #CDBA94 #94CDBA
tetradic
#BA94CD #CD9E94 #A7CD94 #94C4CD
square
#BA94CD #CD9E94 #A7CD94 #94C4CD
split-complementary
#BA94CD #C4CD94 #94CD9E
monochromatic
#81499D #9F6ABA #BA94CD #D5BEE0 #F0E7F4

Accessibility & contrast

On white

2.56
#BA94CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BA94CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94CD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94CD#FFFFFF#000000##000000
##BA94CD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#B99BA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba94cd;
/* rgb */ color: rgb(186, 148, 205);
/* oklch */ color: oklch(72.1% 0.091 314.2);
Tailwind
colors: {
  custom: {
    50: '#cfb3dc',
    500: '#ba94cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba94cd;
$custom-light: #cfb3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94cd",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 205
  },
  "hsl": {
    "h": 280,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72121,
    "c": 0.09089,
    "h": 314.2
  },
  "luminance": 0.36027
}

Semantic roles & 50–950 ramp

primary
#BA94CD
secondary
#DCE7D6
accent
#AF365F
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA94CD

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

Preview Lab → · Contrast checker → · Palette generator →

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