#BA83F7#BA83F7

#BA83F7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.171 H 304.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BA83F7
RGBrgb(186, 131, 247)
HSLhsl(268, 88%, 74%)
HSVhsv(268, 47%, 97%)
CMYKcmyk(24.7%, 47%, 0%, 3.1%)
CIE-LABlab(64.47, 43.27, -50.36)
CIE-LCHlch(64.47, 66.39, 310.67°)
OKLaboklab(71.15% 0.0962 -0.141)
OKLCHoklch(71.15% 0.171 304.3)
XYZxyz(45.1509, 33.3873, 92.0434)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83F7 #C0F783
analogous
#8386F7 #BA83F7 #F483F7
triadic
#BA83F7 #F7BA83 #83F7BA
tetradic
#BA83F7 #F78386 #C0F783 #83F7F4
square
#BA83F7 #F78386 #C0F783 #83F7F4
split-complementary
#BA83F7 #F7F483 #86F783
monochromatic
#7A10F0 #9A4AF3 #BA83F7 #DABCFB #EFE2FD

Accessibility & contrast

On white

2.74
#BA83F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BA83F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83F7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83F7#FFFFFF#000000##000000
##BA83F71.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#719CF4
Tritanopia (blue-blind)
#B097B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba83f7;
/* rgb */ color: rgb(186, 131, 247);
/* oklch */ color: oklch(71.2% 0.171 304.3);
Tailwind
colors: {
  custom: {
    50: '#d1a8fa',
    500: '#ba83f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba83f7;
$custom-light: #d1a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83f7",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 247
  },
  "hsl": {
    "h": 268.448,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.17073,
    "h": 304.3
  },
  "luminance": 0.33387
}

Semantic roles & 50–950 ramp

primary
#BA83F7
secondary
#E6F5D6
accent
#E40179
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA83F7

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

Preview Lab → · Contrast checker → · Palette generator →

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