#BA61FC#BA61FC

#BA61FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.5% C 0.227 H 307.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA61FC
RGBrgb(186, 97, 252)
HSLhsl(274, 96%, 68%)
HSVhsv(274, 62%, 99%)
CMYKcmyk(26.2%, 61.5%, 0%, 1.2%)
CIE-LABlab(58.05, 61.92, -63.35)
CIE-LCHlch(58.05, 88.59, 314.34°)
OKLaboklab(66.51% 0.1389 -0.1789)
OKLCHoklch(66.51% 0.227 307.8)
XYZxyz(42.0915, 26.0173, 94.8810)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61FC #A3FC61
analogous
#6C61FC #BA61FC #FC61F0
triadic
#BA61FC #FCBA61 #61FCBA
tetradic
#BA61FC #FC6C61 #A3FC61 #61F0FC
square
#BA61FC #FC6C61 #A3FC61 #61F0FC
split-complementary
#BA61FC #F0FC61 #61FC6C
monochromatic
#8104DE #A025FB #BA61FC #D49DFD #EED9FE

Accessibility & contrast

On white

3.39
#BA61FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA61FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61FC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61FC#FFFFFF#000000##000000
##BA61FC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0488FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#B080A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba61fc;
/* rgb */ color: rgb(186, 97, 252);
/* oklch */ color: oklch(66.5% 0.227 307.8);
Tailwind
colors: {
  custom: {
    50: '#d392fe',
    500: '#ba61fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba61fc;
$custom-light: #d392fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61fc",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 274.452,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.22652,
    "h": 307.8
  },
  "luminance": 0.26017
}

Semantic roles & 50–950 ramp

primary
#BA61FC
secondary
#D9F4C5
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA61FC

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

Preview Lab → · Contrast checker → · Palette generator →

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