#BA90DC#BA90DC

#BA90DC is a light, moderate violet. Relative luminance 0.356; OKLCH L 72.0% C 0.116 H 309.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BA90DC
RGBrgb(186, 144, 220)
HSLhsl(273, 52%, 71%)
HSVhsv(273, 35%, 86%)
CMYKcmyk(15.5%, 34.5%, 0%, 13.7%)
CIE-LABlab(66.18, 30.04, -32.79)
CIE-LCHlch(66.18, 44.47, 312.49°)
OKLaboklab(72.04% 0.0732 -0.0903)
OKLCHoklch(72.04% 0.116 309)
XYZxyz(43.1389, 35.5534, 72.2862)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90DC #B2DC90
analogous
#9490DC #BA90DC #DC90D8
triadic
#BA90DC #DCBA90 #90DCBA
tetradic
#BA90DC #DC9490 #B2DC90 #90D8DC
square
#BA90DC #DC9490 #B2DC90 #90D8DC
split-complementary
#BA90DC #D8DC90 #90DC94
monochromatic
#7F3AB8 #9D61CD #BA90DC #D7BFEB #F1E8F8

Accessibility & contrast

On white

2.59
#BA90DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BA90DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90DC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90DC#FFFFFF#000000##000000
##BA90DC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDF
Deuteranopia (green-blind)
#8BA2DA
Tritanopia (blue-blind)
#B69BAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba90dc;
/* rgb */ color: rgb(186, 144, 220);
/* oklch */ color: oklch(72.0% 0.116 309.0);
Tailwind
colors: {
  custom: {
    50: '#cfb1e7',
    500: '#ba90dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba90dc;
$custom-light: #cfb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90dc",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 220
  },
  "hsl": {
    "h": 273.158,
    "s": 52.055,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.11629,
    "h": 309
  },
  "luminance": 0.35553
}

Semantic roles & 50–950 ramp

primary
#BA90DC
secondary
#E3EEDA
accent
#BF266B
background
#FCFAFE
surface
#F9F5FC
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA90DC

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

Preview Lab → · Contrast checker → · Palette generator →

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