#BA92DF#BA92DF

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

Color values

HEX#BA92DF
RGBrgb(186, 146, 223)
HSLhsl(271, 55%, 72%)
HSVhsv(271, 35%, 87%)
CMYKcmyk(16.6%, 34.5%, 0%, 12.5%)
CIE-LABlab(66.77, 29.58, -33.53)
CIE-LCHlch(66.77, 44.72, 311.42°)
OKLaboklab(72.52% 0.071 -0.0925)
OKLCHoklch(72.52% 0.117 307.5)
XYZxyz(43.8453, 36.3249, 74.4993)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92DF #B7DF92
analogous
#9492DF #BA92DF #DF92DD
triadic
#BA92DF #DFBA92 #92DFBA
tetradic
#BA92DF #DF9492 #B7DF92 #92DDDF
square
#BA92DF #DF9492 #B7DF92 #92DDDF
split-complementary
#BA92DF #DDDF92 #92DF94
monochromatic
#7E38BF #9C63D1 #BA92DF #D8C1ED #F0E7F8

Accessibility & contrast

On white

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

On black

8.26
#BA92DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92DF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92DF#FFFFFF#000000##000000
##BA92DF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba92df;
/* rgb */ color: rgb(186, 146, 223);
/* oklch */ color: oklch(72.5% 0.117 307.5);
Tailwind
colors: {
  custom: {
    50: '#d0b2e9',
    500: '#ba92df',
    950: '#000000',
  },
}
SCSS
$custom: #ba92df;
$custom-light: #d0b2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92df",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 271.169,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72525,
    "c": 0.11662,
    "h": 307.5
  },
  "luminance": 0.36325
}

Semantic roles & 50–950 ramp

primary
#BA92DF
secondary
#E5EFDC
accent
#C22370
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA92DF

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

Preview Lab → · Contrast checker → · Palette generator →

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