#BA74CF#BA74CF

#BA74CF is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.7% C 0.149 H 318.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BA74CF
RGBrgb(186, 116, 207)
HSLhsl(286, 49%, 63%)
HSVhsv(286, 44%, 81%)
CMYKcmyk(10.1%, 44%, 0%, 18.8%)
CIE-LABlab(59.38, 42.66, -36.10)
CIE-LCHlch(59.38, 55.88, 319.76°)
OKLaboklab(66.72% 0.1111 -0.0997)
OKLCHoklch(66.72% 0.149 318.1)
XYZxyz(37.7560, 27.4361, 62.3262)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA74CF #89CF74
analogous
#8C74CF #BA74CF #CF74B6
triadic
#BA74CF #CFBA74 #74CFBA
tetradic
#BA74CF #CF8C74 #89CF74 #74B6CF
square
#BA74CF #CF8C74 #89CF74 #74B6CF
split-complementary
#BA74CF #B6CF74 #74CF8C
monochromatic
#7F3395 #A347BF #BA74CF #D1A1DF #E7CFEE

Accessibility & contrast

On white

3.24
#BA74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BA74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA74CF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA74CF#FFFFFF#000000##000000
##BA74CF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD2
Deuteranopia (green-blind)
#7891CC
Tritanopia (blue-blind)
#BA8098
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba74cf;
/* rgb */ color: rgb(186, 116, 207);
/* oklch */ color: oklch(66.7% 0.149 318.1);
Tailwind
colors: {
  custom: {
    50: '#d09ede',
    500: '#ba74cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba74cf;
$custom-light: #d09ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ba74cf",
  "rgb": {
    "r": 186,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 286.154,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66723,
    "c": 0.14929,
    "h": 318.1
  },
  "luminance": 0.27435
}

Semantic roles & 50–950 ramp

primary
#BA74CF
secondary
#C7E0BF
accent
#BC2A4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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