#BA85DD#BA85DD

#BA85DD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.136 H 310.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BA85DD
RGBrgb(186, 133, 221)
HSLhsl(276, 56%, 69%)
HSVhsv(276, 40%, 87%)
CMYKcmyk(15.8%, 39.8%, 0%, 13.3%)
CIE-LABlab(63.70, 36.35, -37.20)
CIE-LCHlch(63.70, 52.01, 314.34°)
OKLaboklab(70.17% 0.0893 -0.1029)
OKLCHoklch(70.17% 0.136 310.9)
XYZxyz(41.6861, 32.4353, 72.4572)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85DD #A8DD85
analogous
#8E85DD #BA85DD #DD85D4
triadic
#BA85DD #DDBA85 #85DDBA
tetradic
#BA85DD #DD8E85 #A8DD85 #85D4DD
square
#BA85DD #DD8E85 #A8DD85 #85D4DD
split-complementary
#BA85DD #D4DD85 #85DD8E
monochromatic
#8132B5 #9F55D0 #BA85DD #D5B5EA #F0E5F8

Accessibility & contrast

On white

2.80
#BA85DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#BA85DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85DD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85DD#FFFFFF#000000##000000
##BA85DD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#809BDB
Tritanopia (blue-blind)
#B692A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba85dd;
/* rgb */ color: rgb(186, 133, 221);
/* oklch */ color: oklch(70.2% 0.136 310.9);
Tailwind
colors: {
  custom: {
    50: '#d0a9e8',
    500: '#ba85dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba85dd;
$custom-light: #d0a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85dd",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 221
  },
  "hsl": {
    "h": 276.136,
    "s": 56.41,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.13627,
    "h": 310.9
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#BA85DD
secondary
#DCECD2
accent
#C42262
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA85DD

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

Preview Lab → · Contrast checker → · Palette generator →

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