#BA95CD#BA95CD

#BA95CD is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.3% C 0.089 H 314.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BA95CD
RGBrgb(186, 149, 205)
HSLhsl(280, 36%, 69%)
HSVhsv(280, 27%, 80%)
CMYKcmyk(9.3%, 27.3%, 0%, 19.6%)
CIE-LABlab(66.78, 24.07, -23.53)
CIE-LCHlch(66.78, 33.66, 315.65°)
OKLaboklab(72.3% 0.0619 -0.0641)
OKLCHoklch(72.3% 0.089 314)
XYZxyz(42.0148, 36.3424, 62.5472)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CD #A8CD95
analogous
#9E95CD #BA95CD #CD95C4
triadic
#BA95CD #CDBA95 #95CDBA
tetradic
#BA95CD #CD9E95 #A8CD95 #95C4CD
square
#BA95CD #CD9E95 #A8CD95 #95C4CD
split-complementary
#BA95CD #C4CD95 #95CD9E
monochromatic
#814A9D #9F6BB9 #BA95CD #D5BFE1 #F0E8F4

Accessibility & contrast

On white

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

On black

8.27
#BA95CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CD
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CD#FFFFFF#000000##000000
##BA95CD1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CF
Deuteranopia (green-blind)
#95A3CB
Tritanopia (blue-blind)
#B99CA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba95cd;
/* rgb */ color: rgb(186, 149, 205);
/* oklch */ color: oklch(72.3% 0.089 314.0);
Tailwind
colors: {
  custom: {
    50: '#cfb4dc',
    500: '#ba95cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba95cd;
$custom-light: #cfb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95cd",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 279.643,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72304,
    "c": 0.08911,
    "h": 314
  },
  "luminance": 0.36342
}

Semantic roles & 50–950 ramp

primary
#BA95CD
secondary
#DCE7D7
accent
#AF375F
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA95CD

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

Preview Lab → · Contrast checker → · Palette generator →

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