#BA90DF#BA90DF

#BA90DF is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.2% C 0.120 H 308.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BA90DF
RGBrgb(186, 144, 223)
HSLhsl(272, 55%, 72%)
HSVhsv(272, 35%, 87%)
CMYKcmyk(16.6%, 35.4%, 0%, 12.5%)
CIE-LABlab(66.30, 30.69, -34.26)
CIE-LCHlch(66.30, 46.00, 311.86°)
OKLaboklab(72.17% 0.0739 -0.0946)
OKLCHoklch(72.17% 0.12 308)
XYZxyz(43.5397, 35.7137, 74.3975)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90DF #B5DF90
analogous
#9390DF #BA90DF #DF90DD
triadic
#BA90DF #DFBA90 #90DFBA
tetradic
#BA90DF #DF9390 #B5DF90 #90DDDF
square
#BA90DF #DF9390 #B5DF90 #90DDDF
split-complementary
#BA90DF #DDDF90 #90DF93
monochromatic
#7F37BE #9C60D1 #BA90DF #D8C0ED #F0E7F8

Accessibility & contrast

On white

2.58
#BA90DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BA90DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90DF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90DF#FFFFFF#000000##000000
##BA90DF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE2
Deuteranopia (green-blind)
#8AA2DD
Tritanopia (blue-blind)
#B59BAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba90df;
/* rgb */ color: rgb(186, 144, 223);
/* oklch */ color: oklch(72.2% 0.120 308.0);
Tailwind
colors: {
  custom: {
    50: '#d0b1e9',
    500: '#ba90df',
    950: '#000000',
  },
}
SCSS
$custom: #ba90df;
$custom-light: #d0b1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90df",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 223
  },
  "hsl": {
    "h": 271.899,
    "s": 55.245,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7217,
    "c": 0.12002,
    "h": 308
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#BA90DF
secondary
#E5EFDC
accent
#C3236E
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA90DF

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

Preview Lab → · Contrast checker → · Palette generator →

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