#BA4DFD#BA4DFD

#BA4DFD is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.3% C 0.253 H 309.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA4DFD
RGBrgb(186, 77, 253)
HSLhsl(277, 98%, 65%)
HSVhsv(277, 70%, 99%)
CMYKcmyk(26.5%, 69.6%, 0%, 0.8%)
CIE-LABlab(54.91, 71.02, -68.98)
CIE-LCHlch(54.91, 99.00, 315.84°)
OKLaboklab(64.27% 0.16 -0.1953)
OKLCHoklch(64.27% 0.253 309.3)
XYZxyz(40.6297, 22.8395, 95.1776)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DFD #90FD4D
analogous
#624DFD #BA4DFD #FD4DE8
triadic
#BA4DFD #FDBA4D #4DFDBA
tetradic
#BA4DFD #FD624D #90FD4D #4DE8FD
square
#BA4DFD #FD624D #90FD4D #4DE8FD
split-complementary
#BA4DFD #E8FD4D #4DFD62
monochromatic
#8002CD #A310FC #BA4DFD #D18AFE #E9C6FE

Accessibility & contrast

On white

3.77
#BA4DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BA4DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DFD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DFD#FFFFFF#000000##000000
##BA4DFD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#2785F9
Tritanopia (blue-blind)
#B074A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba4dfd;
/* rgb */ color: rgb(186, 77, 253);
/* oklch */ color: oklch(64.3% 0.253 309.3);
Tailwind
colors: {
  custom: {
    50: '#d487ff',
    500: '#ba4dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dfd;
$custom-light: #d487ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dfd",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 253
  },
  "hsl": {
    "h": 277.159,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64272,
    "c": 0.25254,
    "h": 309.3
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#BA4DFD
secondary
#CCF1B5
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA4DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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