#BA75FE#BA75FE

#BA75FE is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.4% C 0.200 H 305.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA75FE
RGBrgb(186, 117, 254)
HSLhsl(270, 99%, 73%)
HSVhsv(270, 54%, 100%)
CMYKcmyk(26.8%, 53.9%, 0%, 0.4%)
CIE-LABlab(61.93, 52.35, -58.25)
CIE-LCHlch(61.93, 78.32, 311.94°)
OKLaboklab(69.38% 0.1149 -0.164)
OKLCHoklch(69.38% 0.2 305)
XYZxyz(44.4965, 30.3177, 97.2545)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FE #B9FE75
analogous
#7575FE #BA75FE #FE75FD
triadic
#BA75FE #FEBA75 #75FEBA
tetradic
#BA75FE #FE7575 #B9FE75 #75FDFE
square
#BA75FE #FE7575 #B9FE75 #75FDFE
split-complementary
#BA75FE #FDFE75 #75FE75
monochromatic
#7D02F7 #9C38FE #BA75FE #D8B2FE #F0E1FF

Accessibility & contrast

On white

2.97
#BA75FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA75FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FE#FFFFFF#000000##000000
##BA75FE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#AE8FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba75fe;
/* rgb */ color: rgb(186, 117, 254);
/* oklch */ color: oklch(69.4% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#d29fff',
    500: '#ba75fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba75fe;
$custom-light: #d29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75fe",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 270.219,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.20028,
    "h": 305
  },
  "luminance": 0.30317
}

Semantic roles & 50–950 ramp

primary
#BA75FE
secondary
#E5F7D4
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BA75FE

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

Preview Lab → · Contrast checker → · Palette generator →

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