#BA92DE#BA92DE

#BA92DE is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.5% C 0.115 H 307.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#BA92DE
RGBrgb(186, 146, 222)
HSLhsl(272, 54%, 72%)
HSVhsv(272, 34%, 87%)
CMYKcmyk(16.2%, 34.2%, 0%, 12.9%)
CIE-LABlab(66.73, 29.36, -33.04)
CIE-LCHlch(66.73, 44.20, 311.62°)
OKLaboklab(72.48% 0.0708 -0.0911)
OKLCHoklch(72.48% 0.115 307.9)
XYZxyz(43.7109, 36.2712, 73.7914)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92DE #B6DE92
analogous
#9492DE #BA92DE #DE92DC
triadic
#BA92DE #DEBA92 #92DEBA
tetradic
#BA92DE #DE9492 #B6DE92 #92DCDE
square
#BA92DE #DE9492 #B6DE92 #92DCDE
split-complementary
#BA92DE #DCDE92 #92DE94
monochromatic
#7E39BD #9C63D0 #BA92DE #D8C1EC #F0E8F8

Accessibility & contrast

On white

2.54
#BA92DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#BA92DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92DE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92DE#FFFFFF#000000##000000
##BA92DE1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E1
Deuteranopia (green-blind)
#8CA3DC
Tritanopia (blue-blind)
#B59DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba92de;
/* rgb */ color: rgb(186, 146, 222);
/* oklch */ color: oklch(72.5% 0.115 307.9);
Tailwind
colors: {
  custom: {
    50: '#cfb2e8',
    500: '#ba92de',
    950: '#000000',
  },
}
SCSS
$custom: #ba92de;
$custom-light: #cfb2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92de",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 222
  },
  "hsl": {
    "h": 271.579,
    "s": 53.521,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.11536,
    "h": 307.9
  },
  "luminance": 0.36271
}

Semantic roles & 50–950 ramp

primary
#BA92DE
secondary
#E5EFDC
accent
#C1256F
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA92DE

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

Preview Lab → · Contrast checker → · Palette generator →

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