#BA95CF#BA95CF

#BA95CF is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.4% C 0.092 H 313.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BA95CF
RGBrgb(186, 149, 207)
HSLhsl(278, 38%, 70%)
HSVhsv(278, 28%, 81%)
CMYKcmyk(10.1%, 28%, 0%, 18.8%)
CIE-LABlab(66.85, 24.48, -24.53)
CIE-LCHlch(66.85, 34.66, 314.95°)
OKLaboklab(72.39% 0.0625 -0.0669)
OKLCHoklch(72.39% 0.092 313)
XYZxyz(42.2578, 36.4396, 63.8268)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CF #AACF95
analogous
#9D95CF #BA95CF #CF95C7
triadic
#BA95CF #CFBA95 #95CFBA
tetradic
#BA95CF #CF9D95 #AACF95 #95C7CF
square
#BA95CF #CF9D95 #AACF95 #95C7CF
split-complementary
#BA95CF #C7CF95 #95CF9D
monochromatic
#8149A1 #9F6BBC #BA95CF #D5BFE2 #F1E9F5

Accessibility & contrast

On white

2.53
#BA95CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BA95CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CF#FFFFFF#000000##000000
##BA95CF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA1D1
Deuteranopia (green-blind)
#94A4CD
Tritanopia (blue-blind)
#B89CAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba95cf;
/* rgb */ color: rgb(186, 149, 207);
/* oklch */ color: oklch(72.4% 0.092 313.0);
Tailwind
colors: {
  custom: {
    50: '#cfb4dd',
    500: '#ba95cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba95cf;
$custom-light: #cfb4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95cf",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 278.276,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72385,
    "c": 0.09155,
    "h": 313
  },
  "luminance": 0.36439
}

Semantic roles & 50–950 ramp

primary
#BA95CF
secondary
#DEE8D8
accent
#B13562
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA95CF

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

Preview Lab → · Contrast checker → · Palette generator →

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