#BA83CB#BA83CB

#BA83CB is a light, moderate purple. Relative luminance 0.310; OKLCH L 69.0% C 0.119 H 318.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BA83CB
RGBrgb(186, 131, 203)
HSLhsl(286, 41%, 65%)
HSVhsv(286, 35%, 80%)
CMYKcmyk(8.4%, 35.5%, 0%, 20.4%)
CIE-LABlab(62.49, 33.66, -29.00)
CIE-LCHlch(62.49, 44.43, 319.25°)
OKLaboklab(69.01% 0.0883 -0.0795)
OKLCHoklch(69.01% 0.119 318)
XYZxyz(39.1440, 30.9845, 60.4069)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83CB #94CB83
analogous
#9683CB #BA83CB #CB83B8
triadic
#BA83CB #CBBA83 #83CBBA
tetradic
#BA83CB #CB9683 #94CB83 #83B8CB
square
#BA83CB #CB9683 #94CB83 #83B8CB
split-complementary
#BA83CB #B8CB83 #83CB96
monochromatic
#813F95 #A258B9 #BA83CB #D2AEDD #EAD9EF

Accessibility & contrast

On white

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

On black

7.20
#BA83CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83CB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83CB#FFFFFF#000000##000000
##BA83CB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#BA8C9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba83cb;
/* rgb */ color: rgb(186, 131, 203);
/* oklch */ color: oklch(69.0% 0.119 318.0);
Tailwind
colors: {
  custom: {
    50: '#d0a8db',
    500: '#ba83cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba83cb;
$custom-light: #d0a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83cb",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 203
  },
  "hsl": {
    "h": 285.833,
    "s": 40.909,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69014,
    "c": 0.11879,
    "h": 318
  },
  "luminance": 0.30983
}

Semantic roles & 50–950 ramp

primary
#BA83CB
secondary
#CFE1C9
accent
#B43250
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA83CB

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

Preview Lab → · Contrast checker → · Palette generator →

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