#BA7CFD#BA7CFD

#BA7CFD is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.4% C 0.189 H 304.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#BA7CFD
RGBrgb(186, 124, 253)
HSLhsl(269, 97%, 74%)
HSVhsv(269, 51%, 99%)
CMYKcmyk(26.5%, 51%, 0%, 0.8%)
CIE-LABlab(63.30, 48.42, -55.52)
CIE-LCHlch(63.30, 73.67, 311.09°)
OKLaboklab(70.38% 0.106 -0.1561)
OKLCHoklch(70.38% 0.189 304.2)
XYZxyz(45.1831, 31.9464, 96.6954)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7CFD #BFFD7C
analogous
#7C7FFD #BA7CFD #FA7CFD
triadic
#BA7CFD #FDBA7C #7CFDBA
tetradic
#BA7CFD #FD7C7F #BFFD7C #7CFDFA
square
#BA7CFD #FD7C7F #BFFD7C #7CFDFA
split-complementary
#BA7CFD #FDFA7C #7FFD7C
monochromatic
#7B04FB #9A40FC #BA7CFD #DAB8FE #EFE1FF

Accessibility & contrast

On white

2.84
#BA7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#BA7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA7CFD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7CFD#FFFFFF#000000##000000
##BA7CFD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#AE94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba7cfd;
/* rgb */ color: rgb(186, 124, 253);
/* oklch */ color: oklch(70.4% 0.189 304.2);
Tailwind
colors: {
  custom: {
    50: '#d2a3ff',
    500: '#ba7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ba7cfd;
$custom-light: #d2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7cfd",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 268.837,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.18864,
    "h": 304.2
  },
  "luminance": 0.31946
}

Semantic roles & 50–950 ramp

primary
#BA7CFD
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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