#BA62F9#BA62F9

#BA62F9 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.5% C 0.222 H 308.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA62F9
RGBrgb(186, 98, 249)
HSLhsl(275, 93%, 68%)
HSVhsv(275, 61%, 98%)
CMYKcmyk(25.3%, 60.6%, 0%, 2.4%)
CIE-LABlab(58.05, 60.78, -61.70)
CIE-LCHlch(58.05, 86.61, 314.57°)
OKLaboklab(66.45% 0.1379 -0.1741)
OKLCHoklch(66.45% 0.222 308.4)
XYZxyz(41.7128, 26.0146, 92.4281)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62F9 #A1F962
analogous
#6E62F9 #BA62F9 #F962EC
triadic
#BA62F9 #F9BA62 #62F9BA
tetradic
#BA62F9 #F96E62 #A1F962 #62ECF9
square
#BA62F9 #F96E62 #A1F962 #62ECF9
split-complementary
#BA62F9 #ECF962 #62F96E
monochromatic
#8208D8 #A027F7 #BA62F9 #D49DFB #EED8FE

Accessibility & contrast

On white

3.39
#BA62F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA62F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62F9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62F9#FFFFFF#000000##000000
##BA62F91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1888FE
Deuteranopia (green-blind)
#4B8DF5
Tritanopia (blue-blind)
#B180A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba62f9;
/* rgb */ color: rgb(186, 98, 249);
/* oklch */ color: oklch(66.5% 0.222 308.4);
Tailwind
colors: {
  custom: {
    50: '#d393fc',
    500: '#ba62f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba62f9;
$custom-light: #d393fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62f9",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 274.967,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.22205,
    "h": 308.4
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#BA62F9
secondary
#D8F2C4
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA62F9

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

Preview Lab → · Contrast checker → · Palette generator →

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