#BA62DE#BA62DE

#BA62DE is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.9% C 0.194 H 315.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA62DE
RGBrgb(186, 98, 222)
HSLhsl(283, 65%, 63%)
HSVhsv(283, 56%, 87%)
CMYKcmyk(16.2%, 55.9%, 0%, 12.9%)
CIE-LABlab(56.54, 55.04, -49.04)
CIE-LCHlch(56.54, 73.72, 318.30°)
OKLaboklab(64.86% 0.1375 -0.137)
OKLCHoklch(64.86% 0.194 315.1)
XYZxyz(37.8001, 24.4496, 71.8211)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62DE #86DE62
analogous
#7C62DE #BA62DE #DE62C4
triadic
#BA62DE #DEBA62 #62DEBA
tetradic
#BA62DE #DE7C62 #86DE62 #62C4DE
square
#BA62DE #DE7C62 #86DE62 #62C4DE
split-complementary
#BA62DE #C4DE62 #62DE7C
monochromatic
#7E22A3 #A42FD3 #BA62DE #D095E9 #E6C7F3

Accessibility & contrast

On white

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

On black

5.89
#BA62DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62DE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62DE#FFFFFF#000000##000000
##BA62DE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E2
Deuteranopia (green-blind)
#618ADB
Tritanopia (blue-blind)
#B87797
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba62de;
/* rgb */ color: rgb(186, 98, 222);
/* oklch */ color: oklch(64.9% 0.194 315.1);
Tailwind
colors: {
  custom: {
    50: '#d192e9',
    500: '#ba62de',
    950: '#000000',
  },
}
SCSS
$custom: #ba62de;
$custom-light: #d192e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62de",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 282.581,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64859,
    "c": 0.19411,
    "h": 315.1
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#BA62DE
secondary
#C4E4B7
accent
#CD184D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA62DE

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

Preview Lab → · Contrast checker → · Palette generator →

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