#BA55F3#BA55F3

#BA55F3 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.5% C 0.233 H 310.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA55F3
RGBrgb(186, 85, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 65%, 95%)
CMYKcmyk(23.5%, 65%, 0%, 4.7%)
CIE-LABlab(55.49, 65.52, -62.47)
CIE-LCHlch(55.49, 90.53, 316.36°)
OKLaboklab(64.49% 0.1528 -0.1763)
OKLCHoklch(64.49% 0.233 310.9)
XYZxyz(39.6728, 23.4081, 87.2049)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55F3 #8EF355
analogous
#6B55F3 #BA55F3 #F355DD
triadic
#BA55F3 #F3BA55 #55F3BA
tetradic
#BA55F3 #F36B55 #8EF355 #55DDF3
square
#BA55F3 #F36B55 #8EF355 #55DDF3
split-complementary
#BA55F3 #DDF355 #55F36B
monochromatic
#800EC0 #A31CEF #BA55F3 #D18EF7 #E8C7FB

Accessibility & contrast

On white

3.70
#BA55F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BA55F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55F3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55F3#FFFFFF#000000##000000
##BA55F31.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#B3759D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba55f3;
/* rgb */ color: rgb(186, 85, 243);
/* oklch */ color: oklch(64.5% 0.233 310.9);
Tailwind
colors: {
  custom: {
    50: '#d38bf8',
    500: '#ba55f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba55f3;
$custom-light: #d38bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55f3",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 243
  },
  "hsl": {
    "h": 278.354,
    "s": 86.813,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64487,
    "c": 0.23329,
    "h": 310.9
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#BA55F3
secondary
#CAEDB6
accent
#E30253
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA55F3

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

Preview Lab → · Contrast checker → · Palette generator →

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