#BA75DF#BA75DF

#BA75DF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.165 H 312.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA75DF
RGBrgb(186, 117, 223)
HSLhsl(279, 62%, 67%)
HSVhsv(279, 48%, 87%)
CMYKcmyk(16.6%, 47.5%, 0%, 12.5%)
CIE-LABlab(60.33, 45.46, -43.60)
CIE-LCHlch(60.33, 62.99, 316.20°)
OKLaboklab(67.68% 0.1122 -0.1213)
OKLCHoklch(67.68% 0.165 312.8)
XYZxyz(39.9280, 28.4903, 73.1936)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75DF #9ADF75
analogous
#8575DF #BA75DF #DF75CF
triadic
#BA75DF #DFBA75 #75DFBA
tetradic
#BA75DF #DF8575 #9ADF75 #75CFDF
square
#BA75DF #DF8575 #9ADF75 #75CFDF
split-complementary
#BA75DF #CFDF75 #75DF85
monochromatic
#8129B1 #A143D3 #BA75DF #D3A7EB #ECD8F6

Accessibility & contrast

On white

3.14
#BA75DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA75DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75DF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75DF#FFFFFF#000000##000000
##BA75DF1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#7193DC
Tritanopia (blue-blind)
#B785A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba75df;
/* rgb */ color: rgb(186, 117, 223);
/* oklch */ color: oklch(67.7% 0.165 312.8);
Tailwind
colors: {
  custom: {
    50: '#d19ee9',
    500: '#ba75df',
    950: '#000000',
  },
}
SCSS
$custom: #ba75df;
$custom-light: #d19ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75df",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 279.057,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.16526,
    "h": 312.8
  },
  "luminance": 0.28489
}

Semantic roles & 50–950 ramp

primary
#BA75DF
secondary
#D3E9C7
accent
#CA1B58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA75DF

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

Preview Lab → · Contrast checker → · Palette generator →

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