#BA62F5#BA62F5

#BA62F5 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.218 H 309.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA62F5
RGBrgb(186, 98, 245)
HSLhsl(276, 88%, 67%)
HSVhsv(276, 60%, 96%)
CMYKcmyk(24.1%, 60%, 0%, 3.9%)
CIE-LABlab(57.82, 59.91, -59.85)
CIE-LCHlch(57.82, 84.69, 315.03°)
OKLaboklab(66.21% 0.1379 -0.1687)
OKLCHoklch(66.21% 0.218 309.3)
XYZxyz(41.0956, 25.7678, 89.1773)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62F5 #9DF562
analogous
#7062F5 #BA62F5 #F562E7
triadic
#BA62F5 #F5BA62 #62F5BA
tetradic
#BA62F5 #F57062 #9DF562 #62E7F5
square
#BA62F5 #F57062 #9DF562 #62E7F5
split-complementary
#BA62F5 #E7F562 #62F570
monochromatic
#810DCF #A128F1 #BA62F5 #D39CF9 #EDD5FC

Accessibility & contrast

On white

3.41
#BA62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#BA62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62F5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62F5#FFFFFF#000000##000000
##BA62F51.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#B27EA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba62f5;
/* rgb */ color: rgb(186, 98, 245);
/* oklch */ color: oklch(66.2% 0.218 309.3);
Tailwind
colors: {
  custom: {
    50: '#d293f9',
    500: '#ba62f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba62f5;
$custom-light: #d293f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62f5",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 275.918,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.21789,
    "h": 309.3
  },
  "luminance": 0.25767
}

Semantic roles & 50–950 ramp

primary
#BA62F5
secondary
#D5F1C2
accent
#E5015C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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