#BA95DB#BA95DB

#BA95DB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.9% C 0.106 H 308.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BA95DB
RGBrgb(186, 149, 219)
HSLhsl(272, 49%, 72%)
HSVhsv(272, 32%, 86%)
CMYKcmyk(15.1%, 32%, 0%, 14.1%)
CIE-LABlab(67.31, 27.04, -30.48)
CIE-LCHlch(67.31, 40.74, 311.58°)
OKLaboklab(72.89% 0.0657 -0.0838)
OKLCHoklch(72.89% 0.106 308.1)
XYZxyz(43.7810, 37.0488, 71.8488)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95DB #B6DB95
analogous
#9795DB #BA95DB #DB95D9
triadic
#BA95DB #DBBA95 #95DBBA
tetradic
#BA95DB #DB9795 #B6DB95 #95D9DB
square
#BA95DB #DB9795 #B6DB95 #95D9DB
split-complementary
#BA95DB #D9DB95 #95DB97
monochromatic
#7E3EB7 #9C67CB #BA95DB #D8C3EB #F0E8F7

Accessibility & contrast

On white

2.50
#BA95DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BA95DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95DB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95DB#FFFFFF#000000##000000
##BA95DB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DE
Deuteranopia (green-blind)
#90A4D9
Tritanopia (blue-blind)
#B69FAE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba95db;
/* rgb */ color: rgb(186, 149, 219);
/* oklch */ color: oklch(72.9% 0.106 308.1);
Tailwind
colors: {
  custom: {
    50: '#cfb4e6',
    500: '#ba95db',
    950: '#000000',
  },
}
SCSS
$custom: #ba95db;
$custom-light: #cfb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95db",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 271.714,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.10647,
    "h": 308.1
  },
  "luminance": 0.37048
}

Semantic roles & 50–950 ramp

primary
#BA95DB
secondary
#E5EEDD
accent
#BD296F
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA95DB

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

Preview Lab → · Contrast checker → · Palette generator →

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