#BA83CA#BA83CA

#BA83CA is a light, moderate purple. Relative luminance 0.309; OKLCH L 69.0% C 0.118 H 318.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#BA83CA
RGBrgb(186, 131, 202)
HSLhsl(286, 40%, 65%)
HSVhsv(286, 35%, 79%)
CMYKcmyk(7.9%, 35.1%, 0%, 20.8%)
CIE-LABlab(62.45, 33.46, -28.50)
CIE-LCHlch(62.45, 43.95, 319.57°)
OKLaboklab(68.97% 0.088 -0.0781)
OKLCHoklch(68.97% 0.118 318.4)
XYZxyz(39.0252, 30.9370, 59.7813)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83CA #93CA83
analogous
#9683CA #BA83CA #CA83B6
triadic
#BA83CA #CABA83 #83CABA
tetradic
#BA83CA #CA9683 #93CA83 #83B6CA
square
#BA83CA #CA9683 #93CA83 #83B6CA
split-complementary
#BA83CA #B6CA83 #83CA96
monochromatic
#813F94 #A258B8 #BA83CA #D2AEDC #EAD9EF

Accessibility & contrast

On white

2.92
#BA83CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#BA83CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83CA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83CA#FFFFFF#000000##000000
##BA83CA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#BA8B9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba83ca;
/* rgb */ color: rgb(186, 131, 202);
/* oklch */ color: oklch(69.0% 0.118 318.4);
Tailwind
colors: {
  custom: {
    50: '#cfa8da',
    500: '#ba83ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba83ca;
$custom-light: #cfa8da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83ca",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 202
  },
  "hsl": {
    "h": 286.479,
    "s": 40.113,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6897,
    "c": 0.11766,
    "h": 318.4
  },
  "luminance": 0.30936
}

Semantic roles & 50–950 ramp

primary
#BA83CA
secondary
#CEE0C8
accent
#B3324F
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA83CA

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

Preview Lab → · Contrast checker → · Palette generator →

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