#BA3EFF#BA3EFF

#BA3EFF is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 63.0% C 0.270 H 309.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3EFF
RGBrgb(186, 62, 255)
HSLhsl(279, 100%, 62%)
HSVhsv(279, 76%, 100%)
CMYKcmyk(27.1%, 75.7%, 0%, 0%)
CIE-LABlab(53.06, 77.06, -73.07)
CIE-LCHlch(53.06, 106.20, 316.52°)
OKLaboklab(63.01% 0.1731 -0.2073)
OKLCHoklch(63.01% 0.27 309.9)
XYZxyz(40.0187, 21.1052, 96.5539)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EFF #83FF3E
analogous
#593EFF #BA3EFF #FF3EE4
triadic
#BA3EFF #FFBA3E #3EFFBA
tetradic
#BA3EFF #FF593E #83FF3E #3EE4FF
square
#BA3EFF #FF593E #83FF3E #3EE4FF
split-complementary
#BA3EFF #E4FF3E #3EFF59
monochromatic
#7D00C3 #A401FF #BA3EFF #D07BFF #E6B8FF

Accessibility & contrast

On white

4.02
#BA3EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA3EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3EFF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EFF#FFFFFF#000000##000000
##BA3EFF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#B06D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba3eff;
/* rgb */ color: rgb(186, 62, 255);
/* oklch */ color: oklch(63.0% 0.270 309.9);
Tailwind
colors: {
  custom: {
    50: '#d580ff',
    500: '#ba3eff',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eff;
$custom-light: #d580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eff",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 255
  },
  "hsl": {
    "h": 278.549,
    "s": 100,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.27003,
    "h": 309.9
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#BA3EFF
secondary
#C2F0A9
accent
#E60052
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BA3EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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