#BA62F3#BA62F3

#BA62F3 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.216 H 309.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA62F3
RGBrgb(186, 98, 243)
HSLhsl(276, 86%, 67%)
HSVhsv(276, 60%, 95%)
CMYKcmyk(23.5%, 59.7%, 0%, 4.7%)
CIE-LABlab(57.70, 59.48, -58.93)
CIE-LCHlch(57.70, 83.73, 315.27°)
OKLaboklab(66.09% 0.138 -0.166)
OKLCHoklch(66.09% 0.216 309.7)
XYZxyz(40.7919, 25.6463, 87.5780)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62F3 #9BF362
analogous
#7262F3 #BA62F3 #F362E3
triadic
#BA62F3 #F3BA62 #62F3BA
tetradic
#BA62F3 #F37262 #9BF362 #62E3F3
square
#BA62F3 #F37262 #9BF362 #62E3F3
split-complementary
#BA62F3 #E3F362 #62F372
monochromatic
#8110CB #A129EF #BA62F3 #D39BF7 #ECD4FC

Accessibility & contrast

On white

3.43
#BA62F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA62F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62F3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62F3#FFFFFF#000000##000000
##BA62F31.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F8
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#B27EA2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba62f3;
/* rgb */ color: rgb(186, 98, 243);
/* oklch */ color: oklch(66.1% 0.216 309.7);
Tailwind
colors: {
  custom: {
    50: '#d293f8',
    500: '#ba62f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba62f3;
$custom-light: #d293f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62f3",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 276.414,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.21582,
    "h": 309.7
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#BA62F3
secondary
#D3F0C1
accent
#E2035B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA62F3

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

Preview Lab → · Contrast checker → · Palette generator →

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