#BA83CD#BA83CD

#BA83CD is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.1% C 0.121 H 317.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BA83CD
RGBrgb(186, 131, 205)
HSLhsl(285, 43%, 66%)
HSVhsv(285, 36%, 80%)
CMYKcmyk(9.3%, 36.1%, 0%, 19.6%)
CIE-LABlab(62.58, 34.07, -30.00)
CIE-LCHlch(62.58, 45.40, 318.64°)
OKLaboklab(69.1% 0.0888 -0.0823)
OKLCHoklch(69.1% 0.121 317.2)
XYZxyz(39.3839, 31.0804, 61.6702)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83CD #96CD83
analogous
#9583CD #BA83CD #CD83BB
triadic
#BA83CD #CDBA83 #83CDBA
tetradic
#BA83CD #CD9583 #96CD83 #83BBCD
square
#BA83CD #CD9583 #96CD83 #83BBCD
split-complementary
#BA83CD #BBCD83 #83CD95
monochromatic
#813D98 #A257BB #BA83CD #D2AFDF #EBDAF0

Accessibility & contrast

On white

2.91
#BA83CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BA83CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83CD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83CD#FFFFFF#000000##000000
##BA83CD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#8699CB
Tritanopia (blue-blind)
#BA8C9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba83cd;
/* rgb */ color: rgb(186, 131, 205);
/* oklch */ color: oklch(69.1% 0.121 317.2);
Tailwind
colors: {
  custom: {
    50: '#d0a8dc',
    500: '#ba83cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba83cd;
$custom-light: #d0a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83cd",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 205
  },
  "hsl": {
    "h": 284.595,
    "s": 42.529,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69102,
    "c": 0.12106,
    "h": 317.2
  },
  "luminance": 0.31079
}

Semantic roles & 50–950 ramp

primary
#BA83CD
secondary
#D0E2CA
accent
#B63052
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA83CD

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

Preview Lab → · Contrast checker → · Palette generator →

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