#BA90ED#BA90ED

#BA90ED is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.8% C 0.138 H 304.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BA90ED
RGBrgb(186, 144, 237)
HSLhsl(267, 72%, 75%)
HSVhsv(267, 39%, 93%)
CMYKcmyk(21.5%, 39.2%, 0%, 7.1%)
CIE-LABlab(66.90, 33.82, -41.04)
CIE-LCHlch(66.90, 53.18, 309.49°)
OKLaboklab(72.82% 0.0769 -0.1141)
OKLCHoklch(72.82% 0.138 304)
XYZxyz(45.5058, 36.5002, 84.7522)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90ED #C3ED90
analogous
#9095ED #BA90ED #E990ED
triadic
#BA90ED #EDBA90 #90EDBA
tetradic
#BA90ED #ED9095 #C3ED90 #90EDE9
square
#BA90ED #ED9095 #C3ED90 #90EDE9
split-complementary
#BA90ED #EDE990 #95ED90
monochromatic
#7927DC #995BE4 #BA90ED #DBC5F6 #EFE5FB

Accessibility & contrast

On white

2.53
#BA90ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BA90ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90ED
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90ED#FFFFFF#000000##000000
##BA90ED1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F1
Deuteranopia (green-blind)
#83A3EA
Tritanopia (blue-blind)
#B29FB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba90ed;
/* rgb */ color: rgb(186, 144, 237);
/* oklch */ color: oklch(72.8% 0.138 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0b1f3',
    500: '#ba90ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba90ed;
$custom-light: #d0b1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90ed",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 237
  },
  "hsl": {
    "h": 267.097,
    "s": 72.093,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72821,
    "c": 0.13756,
    "h": 304
  },
  "luminance": 0.365
}

Semantic roles & 50–950 ramp

primary
#BA90ED
secondary
#E7F2D9
accent
#D4117C
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA90ED

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

Preview Lab → · Contrast checker → · Palette generator →

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