#BA3DFF#BA3DFF

#BA3DFF is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.9% C 0.271 H 309.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3DFF
RGBrgb(186, 61, 255)
HSLhsl(279, 100%, 62%)
HSVhsv(279, 76%, 100%)
CMYKcmyk(27.1%, 76.1%, 0%, 0%)
CIE-LABlab(52.95, 77.40, -73.26)
CIE-LCHlch(52.95, 106.57, 316.57°)
OKLaboklab(62.93% 0.1739 -0.2078)
OKLCHoklch(62.93% 0.271 309.9)
XYZxyz(39.9649, 20.9974, 96.5360)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DFF #82FF3D
analogous
#593DFF #BA3DFF #FF3DE3
triadic
#BA3DFF #FFBA3D #3DFFBA
tetradic
#BA3DFF #FF593D #82FF3D #3DE3FF
square
#BA3DFF #FF593D #82FF3D #3DE3FF
split-complementary
#BA3DFF #E3FF3D #3DFF59
monochromatic
#7D00C2 #A400FF #BA3DFF #D07AFF #E6B7FF

Accessibility & contrast

On white

4.04
#BA3DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BA3DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3DFF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DFF#FFFFFF#000000##000000
##BA3DFF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#B06D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba3dff;
/* rgb */ color: rgb(186, 61, 255);
/* oklch */ color: oklch(62.9% 0.271 309.9);
Tailwind
colors: {
  custom: {
    50: '#d580ff',
    500: '#ba3dff',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dff;
$custom-light: #d580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dff",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 255
  },
  "hsl": {
    "h": 278.66,
    "s": 100,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62929,
    "c": 0.27097,
    "h": 309.9
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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