#BA90CF#BA90CF

#BA90CF is a light, moderate purple. Relative luminance 0.349; OKLCH L 71.5% C 0.100 H 314.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BA90CF
RGBrgb(186, 144, 207)
HSLhsl(280, 40%, 69%)
HSVhsv(280, 30%, 81%)
CMYKcmyk(10.1%, 30.4%, 0%, 18.8%)
CIE-LABlab(65.66, 27.27, -26.36)
CIE-LCHlch(65.66, 37.93, 315.98°)
OKLaboklab(71.47% 0.0699 -0.0721)
OKLCHoklch(71.47% 0.1 314.1)
XYZxyz(41.4836, 34.8913, 63.5687)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90CF #A5CF90
analogous
#9B90CF #BA90CF #CF90C5
triadic
#BA90CF #CFBA90 #90CFBA
tetradic
#BA90CF #CF9B90 #A5CF90 #90C5CF
square
#BA90CF #CF9B90 #A5CF90 #90C5CF
split-complementary
#BA90CF #C5CF90 #90CF9B
monochromatic
#8145A0 #9F65BD #BA90CF #D5BBE1 #EFE5F4

Accessibility & contrast

On white

2.63
#BA90CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BA90CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90CF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90CF#FFFFFF#000000##000000
##BA90CF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DD2
Deuteranopia (green-blind)
#90A1CD
Tritanopia (blue-blind)
#B998A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba90cf;
/* rgb */ color: rgb(186, 144, 207);
/* oklch */ color: oklch(71.5% 0.100 314.1);
Tailwind
colors: {
  custom: {
    50: '#cfb1dd',
    500: '#ba90cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba90cf;
$custom-light: #cfb1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90cf",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 39.623,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.10039,
    "h": 314.1
  },
  "luminance": 0.34891
}

Semantic roles & 50–950 ramp

primary
#BA90CF
secondary
#DAE7D4
accent
#B3335D
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA90CF

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

Preview Lab → · Contrast checker → · Palette generator →

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