#BA62F7#BA62F7

#BA62F7 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.3% C 0.220 H 308.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA62F7
RGBrgb(186, 98, 247)
HSLhsl(275, 90%, 68%)
HSVhsv(275, 60%, 97%)
CMYKcmyk(24.7%, 60.3%, 0%, 3.1%)
CIE-LABlab(57.93, 60.35, -60.78)
CIE-LCHlch(57.93, 85.65, 314.80°)
OKLaboklab(66.33% 0.1379 -0.1714)
OKLCHoklch(66.33% 0.22 308.8)
XYZxyz(41.4025, 25.8905, 90.7939)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62F7 #9FF762
analogous
#6F62F7 #BA62F7 #F762EA
triadic
#BA62F7 #F7BA62 #62F7BA
tetradic
#BA62F7 #F76F62 #9FF762 #62EAF7
square
#BA62F7 #F76F62 #9FF762 #62EAF7
split-complementary
#BA62F7 #EAF762 #62F76F
monochromatic
#820BD4 #A028F4 #BA62F7 #D49CFA #EDD6FD

Accessibility & contrast

On white

3.40
#BA62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA62F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62F7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62F7#FFFFFF#000000##000000
##BA62F71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#4D8CF4
Tritanopia (blue-blind)
#B17FA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba62f7;
/* rgb */ color: rgb(186, 98, 247);
/* oklch */ color: oklch(66.3% 0.220 308.8);
Tailwind
colors: {
  custom: {
    50: '#d393fb',
    500: '#ba62f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba62f7;
$custom-light: #d393fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62f7",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 275.436,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.21997,
    "h": 308.8
  },
  "luminance": 0.2589
}

Semantic roles & 50–950 ramp

primary
#BA62F7
secondary
#D6F2C3
accent
#E6005E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA62F7

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

Preview Lab → · Contrast checker → · Palette generator →

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