#BA94CE#BA94CE

#BA94CE is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.2% C 0.092 H 313.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BA94CE
RGBrgb(186, 148, 206)
HSLhsl(279, 37%, 69%)
HSVhsv(279, 28%, 81%)
CMYKcmyk(9.7%, 28.2%, 0%, 19.2%)
CIE-LABlab(66.58, 24.83, -24.40)
CIE-LCHlch(66.58, 34.81, 315.51°)
OKLaboklab(72.16% 0.0637 -0.0666)
OKLCHoklch(72.16% 0.092 313.7)
XYZxyz(41.9784, 36.0758, 63.1325)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94CE #A8CE94
analogous
#9D94CE #BA94CE #CE94C5
triadic
#BA94CE #CEBA94 #94CEBA
tetradic
#BA94CE #CE9D94 #A8CE94 #94C5CE
square
#BA94CE #CE9D94 #A8CE94 #94C5CE
split-complementary
#BA94CE #C5CE94 #94CE9D
monochromatic
#81499F #9F6ABB #BA94CE #D5BEE1 #F0E8F4

Accessibility & contrast

On white

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

On black

8.22
#BA94CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94CE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94CE#FFFFFF#000000##000000
##BA94CE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA0D0
Deuteranopia (green-blind)
#94A3CC
Tritanopia (blue-blind)
#B99BA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba94ce;
/* rgb */ color: rgb(186, 148, 206);
/* oklch */ color: oklch(72.2% 0.092 313.7);
Tailwind
colors: {
  custom: {
    50: '#cfb3dd',
    500: '#ba94ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba94ce;
$custom-light: #cfb3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94ce",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 206
  },
  "hsl": {
    "h": 279.31,
    "s": 37.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72161,
    "c": 0.0921,
    "h": 313.7
  },
  "luminance": 0.36075
}

Semantic roles & 50–950 ramp

primary
#BA94CE
secondary
#DCE7D7
accent
#B03560
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA94CE

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

Preview Lab → · Contrast checker → · Palette generator →

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