#BA67EA#BA67EA

#BA67EA is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.2% C 0.199 H 311.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA67EA
RGBrgb(186, 103, 234)
HSLhsl(278, 76%, 66%)
HSVhsv(278, 56%, 92%)
CMYKcmyk(20.5%, 56%, 0%, 8.2%)
CIE-LABlab(58.11, 55.08, -53.25)
CIE-LCHlch(58.11, 76.61, 315.96°)
OKLaboklab(66.22% 0.1317 -0.1494)
OKLCHoklch(66.22% 0.199 311.4)
XYZxyz(39.9485, 26.0810, 80.7556)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67EA #97EA67
analogous
#7867EA #BA67EA #EA67D9
triadic
#BA67EA #EABA67 #67EABA
tetradic
#BA67EA #EA7867 #97EA67 #67D9EA
square
#BA67EA #EA7867 #97EA67 #67D9EA
split-complementary
#BA67EA #D9EA67 #67EA78
monochromatic
#811ABD #A231E3 #BA67EA #D29DF1 #EBD3F9

Accessibility & contrast

On white

3.38
#BA67EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA67EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67EA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67EA#FFFFFF#000000##000000
##BA67EA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#5D8DE7
Tritanopia (blue-blind)
#B47E9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba67ea;
/* rgb */ color: rgb(186, 103, 234);
/* oklch */ color: oklch(66.2% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#d296f1',
    500: '#ba67ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba67ea;
$custom-light: #d296f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67ea",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 278.015,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66224,
    "c": 0.19913,
    "h": 311.4
  },
  "luminance": 0.2608
}

Semantic roles & 50–950 ramp

primary
#BA67EA
secondary
#D1ECC1
accent
#D80E58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67EA

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

Preview Lab → · Contrast checker → · Palette generator →

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