#BA3CFD#BA3CFD

#BA3CFD is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.7% C 0.270 H 310.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3CFD
RGBrgb(186, 60, 253)
HSLhsl(279, 98%, 61%)
HSVhsv(279, 76%, 99%)
CMYKcmyk(26.5%, 76.3%, 0%, 0.8%)
CIE-LABlab(52.69, 77.34, -72.57)
CIE-LCHlch(52.69, 106.05, 316.82°)
OKLaboklab(62.7% 0.1751 -0.2058)
OKLCHoklch(62.7% 0.27 310.4)
XYZxyz(39.5917, 20.7636, 94.8316)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CFD #7FFD3C
analogous
#5A3CFD #BA3CFD #FD3CE0
triadic
#BA3CFD #FDBA3C #3CFDBA
tetradic
#BA3CFD #FD5A3C #7FFD3C #3CE0FD
square
#BA3CFD #FD5A3C #7FFD3C #3CE0FD
split-complementary
#BA3CFD #E0FD3C #3CFD5A
monochromatic
#7C02BD #A403F9 #BA3CFD #CF79FE #E5B5FE

Accessibility & contrast

On white

4.08
#BA3CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA3CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3CFD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CFD#FFFFFF#000000##000000
##BA3CFD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0080F9
Tritanopia (blue-blind)
#B16C9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba3cfd;
/* rgb */ color: rgb(186, 60, 253);
/* oklch */ color: oklch(62.7% 0.270 310.4);
Tailwind
colors: {
  custom: {
    50: '#d47fff',
    500: '#ba3cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cfd;
$custom-light: #d47fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cfd",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 253
  },
  "hsl": {
    "h": 279.171,
    "s": 97.97,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62704,
    "c": 0.27017,
    "h": 310.4
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#BA3CFD
secondary
#BFEEA6
accent
#E60050
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BA3CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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