#BA4FFF#BA4FFF

#BA4FFF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.6% C 0.252 H 308.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA4FFF
RGBrgb(186, 79, 255)
HSLhsl(276, 100%, 65%)
HSVhsv(276, 69%, 100%)
CMYKcmyk(27.1%, 69%, 0%, 0%)
CIE-LABlab(55.33, 70.61, -69.40)
CIE-LCHlch(55.33, 99.01, 315.50°)
OKLaboklab(64.62% 0.1578 -0.1966)
OKLCHoklch(64.62% 0.252 308.8)
XYZxyz(41.0920, 23.2518, 96.9117)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FFF #94FF4F
analogous
#624FFF #BA4FFF #FF4FEC
triadic
#BA4FFF #FFBA4F #4FFFBA
tetradic
#BA4FFF #FF624F #94FF4F #4FECFF
square
#BA4FFF #FF624F #94FF4F #4FECFF
split-complementary
#BA4FFF #ECFF4F #4FFF62
monochromatic
#8100D4 #A212FF #BA4FFF #D28CFF #EAC9FF

Accessibility & contrast

On white

3.72
#BA4FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#BA4FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FFF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FFF#FFFFFF#000000##000000
##BA4FFF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#B076A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba4fff;
/* rgb */ color: rgb(186, 79, 255);
/* oklch */ color: oklch(64.6% 0.252 308.8);
Tailwind
colors: {
  custom: {
    50: '#d488ff',
    500: '#ba4fff',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fff;
$custom-light: #d488ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fff",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 276.477,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.25212,
    "h": 308.8
  },
  "luminance": 0.23251
}

Semantic roles & 50–950 ramp

primary
#BA4FFF
secondary
#CFF2B7
accent
#E6005A
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA4FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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