#BA62BB#BA62BB

#BA62BB is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.0% C 0.159 H 326.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA62BB
RGBrgb(186, 98, 187)
HSLhsl(299, 40%, 56%)
HSVhsv(299, 48%, 73%)
CMYKcmyk(0.5%, 47.6%, 0%, 26.7%)
CIE-LABlab(54.83, 48.20, -31.80)
CIE-LCHlch(54.83, 57.74, 326.58°)
OKLaboklab(63.04% 0.1335 -0.0872)
OKLCHoklch(63.04% 0.159 326.9)
XYZxyz(33.5864, 22.7641, 49.6289)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62BB #63BB62
analogous
#8D62BB #BA62BB #BB628F
triadic
#BA62BB #BBBA62 #62BBBA
tetradic
#BA62BB #BB8D62 #63BB62 #628FBB
square
#BA62BB #BB8D62 #63BB62 #628FBB
split-complementary
#BA62BB #8FBB62 #62BB8D
monochromatic
#713171 #9B449C #BA62BB #CD8DCD #E0B7E0

Accessibility & contrast

On white

3.78
#BA62BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BA62BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62BB#FFFFFF#000000##000000
##BA62BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#7387B8
Tritanopia (blue-blind)
#BF6C86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba62bb;
/* rgb */ color: rgb(186, 98, 187);
/* oklch */ color: oklch(63.0% 0.159 326.9);
Tailwind
colors: {
  custom: {
    50: '#d192cf',
    500: '#ba62bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba62bb;
$custom-light: #d192cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62bb",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 299.326,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.15946,
    "h": 326.9
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#BA62BB
secondary
#AACFAA
accent
#CF585A
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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