#BA62DD#BA62DD

#BA62DD is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.193 H 315.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA62DD
RGBrgb(186, 98, 221)
HSLhsl(283, 64%, 63%)
HSVhsv(283, 56%, 87%)
CMYKcmyk(15.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(56.48, 54.84, -48.56)
CIE-LCHlch(56.48, 73.25, 318.48°)
OKLaboklab(64.8% 0.1374 -0.1356)
OKLCHoklch(64.8% 0.193 315.4)
XYZxyz(37.6665, 24.3961, 71.1174)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62DD #85DD62
analogous
#7D62DD #BA62DD #DD62C2
triadic
#BA62DD #DDBA62 #62DDBA
tetradic
#BA62DD #DD7D62 #85DD62 #62C2DD
square
#BA62DD #DD7D62 #85DD62 #62C2DD
split-complementary
#BA62DD #C2DD62 #62DD7D
monochromatic
#7E23A2 #A430D2 #BA62DD #D094E8 #E6C7F3

Accessibility & contrast

On white

3.57
#BA62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BA62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62DD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62DD#FFFFFF#000000##000000
##BA62DD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#618ADA
Tritanopia (blue-blind)
#B87696
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba62dd;
/* rgb */ color: rgb(186, 98, 221);
/* oklch */ color: oklch(64.8% 0.193 315.4);
Tailwind
colors: {
  custom: {
    50: '#d192e8',
    500: '#ba62dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba62dd;
$custom-light: #d192e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62dd",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 282.927,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64803,
    "c": 0.19309,
    "h": 315.4
  },
  "luminance": 0.24395
}

Semantic roles & 50–950 ramp

primary
#BA62DD
secondary
#C4E4B7
accent
#CC194C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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