#BA95CE#BA95CE

#BA95CE is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.3% C 0.090 H 313.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BA95CE
RGBrgb(186, 149, 206)
HSLhsl(279, 37%, 70%)
HSVhsv(279, 28%, 81%)
CMYKcmyk(9.7%, 27.7%, 0%, 19.2%)
CIE-LABlab(66.82, 24.28, -24.03)
CIE-LCHlch(66.82, 34.16, 315.29°)
OKLaboklab(72.35% 0.0622 -0.0655)
OKLCHoklch(72.35% 0.09 313.5)
XYZxyz(42.1359, 36.3908, 63.1850)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CE #A9CE95
analogous
#9E95CE #BA95CE #CE95C6
triadic
#BA95CE #CEBA95 #95CEBA
tetradic
#BA95CE #CE9E95 #A9CE95 #95C6CE
square
#BA95CE #CE9E95 #A9CE95 #95C6CE
split-complementary
#BA95CE #C6CE95 #95CE9E
monochromatic
#814A9F #9F6BBB #BA95CE #D5BFE1 #F0E9F5

Accessibility & contrast

On white

2.54
#BA95CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BA95CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CE#FFFFFF#000000##000000
##BA95CE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0D0
Deuteranopia (green-blind)
#94A4CC
Tritanopia (blue-blind)
#B99CA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba95ce;
/* rgb */ color: rgb(186, 149, 206);
/* oklch */ color: oklch(72.3% 0.090 313.5);
Tailwind
colors: {
  custom: {
    50: '#cfb4dd',
    500: '#ba95ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba95ce;
$custom-light: #cfb4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95ce",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 206
  },
  "hsl": {
    "h": 278.947,
    "s": 36.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.09032,
    "h": 313.5
  },
  "luminance": 0.3639
}

Semantic roles & 50–950 ramp

primary
#BA95CE
secondary
#DDE8D7
accent
#B03661
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA95CE

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

Preview Lab → · Contrast checker → · Palette generator →

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