#BA90CC#BA90CC

#BA90CC is a light, moderate purple. Relative luminance 0.347; OKLCH L 71.4% C 0.097 H 315.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BA90CC
RGBrgb(186, 144, 204)
HSLhsl(282, 37%, 68%)
HSVhsv(282, 29%, 80%)
CMYKcmyk(8.8%, 29.4%, 0%, 20%)
CIE-LABlab(65.55, 26.65, -24.86)
CIE-LCHlch(65.55, 36.44, 316.99°)
OKLaboklab(71.35% 0.0691 -0.0678)
OKLCHoklch(71.35% 0.097 315.5)
XYZxyz(41.1204, 34.7460, 61.6555)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90CC #A2CC90
analogous
#9C90CC #BA90CC #CC90C0
triadic
#BA90CC #CCBA90 #90CCBA
tetradic
#BA90CC #CC9C90 #A2CC90 #90C0CC
square
#BA90CC #CC9C90 #A2CC90 #90C0CC
split-complementary
#BA90CC #C0CC90 #90CC9C
monochromatic
#82479B #A066B9 #BA90CC #D4BADF #EEE4F3

Accessibility & contrast

On white

2.64
#BA90CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BA90CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90CC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90CC#FFFFFF#000000##000000
##BA90CC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCE
Deuteranopia (green-blind)
#91A0CA
Tritanopia (blue-blind)
#B997A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba90cc;
/* rgb */ color: rgb(186, 144, 204);
/* oklch */ color: oklch(71.4% 0.097 315.5);
Tailwind
colors: {
  custom: {
    50: '#cfb1db',
    500: '#ba90cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba90cc;
$custom-light: #cfb1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90cc",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 204
  },
  "hsl": {
    "h": 282,
    "s": 37.037,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71351,
    "c": 0.09681,
    "h": 315.5
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

primary
#BA90CC
secondary
#D8E5D3
accent
#B0365A
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA90CC

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

Preview Lab → · Contrast checker → · Palette generator →

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