#BA62FB#BA62FB

#BA62FB is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.6% C 0.224 H 307.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA62FB
RGBrgb(186, 98, 251)
HSLhsl(275, 95%, 68%)
HSVhsv(275, 61%, 98%)
CMYKcmyk(25.9%, 61%, 0%, 1.6%)
CIE-LABlab(58.17, 61.22, -62.61)
CIE-LCHlch(58.17, 87.57, 314.36°)
OKLaboklab(66.58% 0.1378 -0.1768)
OKLCHoklch(66.58% 0.224 307.9)
XYZxyz(42.0264, 26.1401, 94.0797)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62FB #A3FB62
analogous
#6D62FB #BA62FB #FB62EF
triadic
#BA62FB #FBBA62 #62FBBA
tetradic
#BA62FB #FB6D62 #A3FB62 #62EFFB
square
#BA62FB #FB6D62 #A3FB62 #62EFFB
split-complementary
#BA62FB #EFFB62 #62FB6D
monochromatic
#8106DD #A026F9 #BA62FB #D49EFD #EED9FE

Accessibility & contrast

On white

3.37
#BA62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#BA62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62FB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62FB#FFFFFF#000000##000000
##BA62FB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1188FF
Deuteranopia (green-blind)
#488DF7
Tritanopia (blue-blind)
#B080A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba62fb;
/* rgb */ color: rgb(186, 98, 251);
/* oklch */ color: oklch(66.6% 0.224 307.9);
Tailwind
colors: {
  custom: {
    50: '#d393fd',
    500: '#ba62fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba62fb;
$custom-light: #d393fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62fb",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 274.51,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.22412,
    "h": 307.9
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#BA62FB
secondary
#D9F3C5
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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