#BA95DF#BA95DF

#BA95DF is a light, moderate violet. Relative luminance 0.373; OKLCH L 73.1% C 0.112 H 306.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BA95DF
RGBrgb(186, 149, 223)
HSLhsl(270, 54%, 73%)
HSVhsv(270, 33%, 87%)
CMYKcmyk(16.6%, 33.2%, 0%, 12.5%)
CIE-LABlab(67.47, 27.91, -32.44)
CIE-LCHlch(67.47, 42.79, 310.71°)
OKLaboklab(73.06% 0.0667 -0.0894)
OKLCHoklch(73.06% 0.112 306.7)
XYZxyz(44.3139, 37.2620, 74.6555)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95DF #BADF95
analogous
#9595DF #BA95DF #DF95DF
triadic
#BA95DF #DFBA95 #95DFBA
tetradic
#BA95DF #DF9595 #BADF95 #95DFDF
square
#BA95DF #DF9595 #BADF95 #95DFDF
split-complementary
#BA95DF #DFDF95 #95DF95
monochromatic
#7D3AC0 #9B66D1 #BA95DF #D9C4ED #F0E7F8

Accessibility & contrast

On white

2.48
#BA95DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BA95DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95DF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95DF#FFFFFF#000000##000000
##BA95DF1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#8EA5DD
Tritanopia (blue-blind)
#B5A0B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba95df;
/* rgb */ color: rgb(186, 149, 223);
/* oklch */ color: oklch(73.1% 0.112 306.7);
Tailwind
colors: {
  custom: {
    50: '#cfb4e9',
    500: '#ba95df',
    950: '#000000',
  },
}
SCSS
$custom: #ba95df;
$custom-light: #cfb4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95df",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.11152,
    "h": 306.7
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#BA95DF
secondary
#E6EFDC
accent
#C12473
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA95DF

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

Preview Lab → · Contrast checker → · Palette generator →

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