#BA83F8#BA83F8

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

Color values

HEX#BA83F8
RGBrgb(186, 131, 248)
HSLhsl(268, 89%, 74%)
HSVhsv(268, 47%, 97%)
CMYKcmyk(25%, 47.2%, 0%, 2.7%)
CIE-LABlab(64.52, 43.50, -50.83)
CIE-LCHlch(64.52, 66.90, 310.55°)
OKLaboklab(71.2% 0.0963 -0.1424)
OKLCHoklch(71.2% 0.172 304.1)
XYZxyz(45.3056, 33.4492, 92.8583)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83F8 #C1F883
analogous
#8387F8 #BA83F8 #F483F8
triadic
#BA83F8 #F8BA83 #83F8BA
tetradic
#BA83F8 #F88387 #C1F883 #83F8F4
square
#BA83F8 #F88387 #C1F883 #83F8F4
split-complementary
#BA83F8 #F8F483 #87F883
monochromatic
#7A0FF1 #9A49F5 #BA83F8 #DABDFB #EFE2FD

Accessibility & contrast

On white

2.73
#BA83F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA83F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83F8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83F8#FFFFFF#000000##000000
##BA83F81.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#AF97B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba83f8;
/* rgb */ color: rgb(186, 131, 248);
/* oklch */ color: oklch(71.2% 0.172 304.1);
Tailwind
colors: {
  custom: {
    50: '#d1a8fb',
    500: '#ba83f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba83f8;
$custom-light: #d1a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83f8",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 248
  },
  "hsl": {
    "h": 268.205,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71203,
    "c": 0.17193,
    "h": 304.1
  },
  "luminance": 0.33449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA83F8

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

Preview Lab → · Contrast checker → · Palette generator →

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