#BA75FC#BA75FC

#BA75FC is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.198 H 305.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BA75FC
RGBrgb(186, 117, 252)
HSLhsl(271, 96%, 72%)
HSVhsv(271, 54%, 99%)
CMYKcmyk(26.2%, 53.6%, 0%, 1.2%)
CIE-LABlab(61.82, 51.89, -57.33)
CIE-LCHlch(61.82, 77.32, 312.15°)
OKLaboklab(69.26% 0.1148 -0.1613)
OKLCHoklch(69.26% 0.198 305.4)
XYZxyz(44.1779, 30.1903, 95.5765)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FC #B7FC75
analogous
#7775FC #BA75FC #FC75FA
triadic
#BA75FC #FCBA75 #75FCBA
tetradic
#BA75FC #FC7775 #B7FC75 #75FAFC
square
#BA75FC #FC7775 #B7FC75 #75FAFC
split-complementary
#BA75FC #FAFC75 #75FC77
monochromatic
#7E05F1 #9C39FB #BA75FC #D8B1FD #F0E1FE

Accessibility & contrast

On white

2.98
#BA75FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#BA75FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FC#FFFFFF#000000##000000
##BA75FC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#AF8EAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75fc;
/* rgb */ color: rgb(186, 117, 252);
/* oklch */ color: oklch(69.3% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#d29ffe',
    500: '#ba75fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba75fc;
$custom-light: #d29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75fc",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 252
  },
  "hsl": {
    "h": 270.667,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69264,
    "c": 0.19801,
    "h": 305.4
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA75FC

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

Preview Lab → · Contrast checker → · Palette generator →

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