#BA35FF#BA35FF

#BA35FF is a light, highly saturated violet. Relative luminance 0.202; OKLCH L 62.3% C 0.278 H 310.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA35FF
RGBrgb(186, 53, 255)
HSLhsl(280, 100%, 60%)
HSVhsv(280, 79%, 100%)
CMYKcmyk(27.1%, 79.2%, 0%, 0%)
CIE-LABlab(52.07, 79.94, -74.69)
CIE-LCHlch(52.07, 109.40, 316.95°)
OKLaboklab(62.31% 0.1798 -0.212)
OKLCHoklch(62.31% 0.278 310.3)
XYZxyz(39.5692, 20.2062, 96.4041)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35FF #7AFF35
analogous
#5535FF #BA35FF #FF35DF
triadic
#BA35FF #FFBA35 #35FFBA
tetradic
#BA35FF #FF5535 #7AFF35 #35DFFF
square
#BA35FF #FF5535 #7AFF35 #35DFFF
split-complementary
#BA35FF #DFFF35 #35FF55
monochromatic
#7A00BA #A200F7 #BA35FF #CF72FF #E4AFFF

Accessibility & contrast

On white

4.17
#BA35FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BA35FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA35FF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35FF#FFFFFF#000000##000000
##BA35FF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#B0699C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba35ff;
/* rgb */ color: rgb(186, 53, 255);
/* oklch */ color: oklch(62.3% 0.278 310.3);
Tailwind
colors: {
  custom: {
    50: '#d57cff',
    500: '#ba35ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba35ff;
$custom-light: #d57cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35ff",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 255
  },
  "hsl": {
    "h": 279.505,
    "s": 100,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.27799,
    "h": 310.3
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#BA35FF
secondary
#BCEEA1
accent
#E6004E
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BA35FF

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

Preview Lab → · Contrast checker → · Palette generator →

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