#BA83DF#BA83DF

#BA83DF is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.142 H 310.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BA83DF
RGBrgb(186, 131, 223)
HSLhsl(276, 59%, 69%)
HSVhsv(276, 41%, 87%)
CMYKcmyk(16.6%, 41.3%, 0%, 12.5%)
CIE-LABlab(63.34, 37.88, -38.87)
CIE-LCHlch(63.34, 54.27, 314.26°)
OKLaboklab(69.93% 0.0925 -0.1077)
OKLCHoklch(69.93% 0.142 310.7)
XYZxyz(41.6829, 32.0001, 73.7785)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83DF #A8DF83
analogous
#8C83DF #BA83DF #DF83D6
triadic
#BA83DF #DFBA83 #83DFBA
tetradic
#BA83DF #DF8C83 #A8DF83 #83D6DF
square
#BA83DF #DF8C83 #A8DF83 #83D6DF
split-complementary
#BA83DF #D6DF83 #83DF8C
monochromatic
#8130B8 #9F52D2 #BA83DF #D5B4EC #F0E4F8

Accessibility & contrast

On white

2.84
#BA83DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BA83DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83DF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83DF#FFFFFF#000000##000000
##BA83DF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#B691A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba83df;
/* rgb */ color: rgb(186, 131, 223);
/* oklch */ color: oklch(69.9% 0.142 310.7);
Tailwind
colors: {
  custom: {
    50: '#d0a8e9',
    500: '#ba83df',
    950: '#000000',
  },
}
SCSS
$custom: #ba83df;
$custom-light: #d0a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83df",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 223
  },
  "hsl": {
    "h": 275.87,
    "s": 58.974,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.14202,
    "h": 310.7
  },
  "luminance": 0.31999
}

Semantic roles & 50–950 ramp

primary
#BA83DF
secondary
#DCECD2
accent
#C71F62
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA83DF

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

Preview Lab → · Contrast checker → · Palette generator →

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