#BA67FC#BA67FC

#BA67FC is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.3% C 0.218 H 307.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BA67FC
RGBrgb(186, 103, 252)
HSLhsl(273, 96%, 70%)
HSVhsv(273, 59%, 99%)
CMYKcmyk(26.2%, 59.1%, 0%, 1.2%)
CIE-LABlab(59.13, 59.01, -61.63)
CIE-LCHlch(59.13, 85.32, 313.76°)
OKLaboklab(67.29% 0.1319 -0.1739)
OKLCHoklch(67.29% 0.218 307.2)
XYZxyz(42.6670, 27.1684, 95.0729)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67FC #A9FC67
analogous
#7067FC #BA67FC #FC67F3
triadic
#BA67FC #FCBA67 #67FCBA
tetradic
#BA67FC #FC7067 #A9FC67 #67F3FC
square
#BA67FC #FC7067 #A9FC67 #67F3FC
split-complementary
#BA67FC #F3FC67 #67FC70
monochromatic
#8105E4 #9F2BFB #BA67FC #D5A3FD #F0DFFE

Accessibility & contrast

On white

3.26
#BA67FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#BA67FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67FC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67FC#FFFFFF#000000##000000
##BA67FC1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#B084A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba67fc;
/* rgb */ color: rgb(186, 103, 252);
/* oklch */ color: oklch(67.3% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#d396fe',
    500: '#ba67fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba67fc;
$custom-light: #d396fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67fc",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 252
  },
  "hsl": {
    "h": 273.423,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67294,
    "c": 0.21827,
    "h": 307.2
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#BA67FC
secondary
#DDF5CA
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BA67FC

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

Preview Lab → · Contrast checker → · Palette generator →

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