#BA62F1#BA62F1

#BA62F1 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.0% C 0.214 H 310.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA62F1
RGBrgb(186, 98, 241)
HSLhsl(277, 84%, 66%)
HSVhsv(277, 59%, 95%)
CMYKcmyk(22.8%, 59.3%, 0%, 5.5%)
CIE-LABlab(57.58, 59.05, -58.00)
CIE-LCHlch(57.58, 82.77, 315.51°)
OKLaboklab(65.96% 0.138 -0.1632)
OKLCHoklch(65.96% 0.214 310.2)
XYZxyz(40.4915, 25.5261, 85.9960)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62F1 #99F162
analogous
#7362F1 #BA62F1 #F162E1
triadic
#BA62F1 #F1BA62 #62F1BA
tetradic
#BA62F1 #F17362 #99F162 #62E1F1
square
#BA62F1 #F17362 #99F162 #62E1F1
split-complementary
#BA62F1 #E1F162 #62F173
monochromatic
#8112C7 #A12AEC #BA62F1 #D39AF6 #EBD2FB

Accessibility & contrast

On white

3.44
#BA62F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA62F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62F1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62F1#FFFFFF#000000##000000
##BA62F11.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F6
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#B37DA1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba62f1;
/* rgb */ color: rgb(186, 98, 241);
/* oklch */ color: oklch(66.0% 0.214 310.2);
Tailwind
colors: {
  custom: {
    50: '#d293f6',
    500: '#ba62f1',
    950: '#000000',
  },
}
SCSS
$custom: #ba62f1;
$custom-light: #d293f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62f1",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 276.923,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65964,
    "c": 0.21374,
    "h": 310.2
  },
  "luminance": 0.25525
}

Semantic roles & 50–950 ramp

primary
#BA62F1
secondary
#D2EFC0
accent
#E0055A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA62F1

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

Preview Lab → · Contrast checker → · Palette generator →

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