#BA67EB#BA67EB

#BA67EB is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.200 H 311.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA67EB
RGBrgb(186, 103, 235)
HSLhsl(278, 77%, 66%)
HSVhsv(278, 56%, 92%)
CMYKcmyk(20.9%, 56.2%, 0%, 7.8%)
CIE-LABlab(58.17, 55.29, -53.73)
CIE-LCHlch(58.17, 77.10, 315.82°)
OKLaboklab(66.28% 0.1317 -0.1508)
OKLCHoklch(66.28% 0.2 311.1)
XYZxyz(40.0926, 26.1386, 81.5144)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67EB #98EB67
analogous
#7867EB #BA67EB #EB67DA
triadic
#BA67EB #EBBA67 #67EBBA
tetradic
#BA67EB #EB7867 #98EB67 #67DAEB
square
#BA67EB #EB7867 #98EB67 #67DAEB
split-complementary
#BA67EB #DAEB67 #67EB78
monochromatic
#8119BF #A131E4 #BA67EB #D39DF2 #EBD3F9

Accessibility & contrast

On white

3.37
#BA67EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#BA67EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67EB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67EB#FFFFFF#000000##000000
##BA67EB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba67eb;
/* rgb */ color: rgb(186, 103, 235);
/* oklch */ color: oklch(66.3% 0.200 311.1);
Tailwind
colors: {
  custom: {
    50: '#d296f2',
    500: '#ba67eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba67eb;
$custom-light: #d296f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67eb",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 277.727,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.20019,
    "h": 311.1
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA67EB

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

Preview Lab → · Contrast checker → · Palette generator →

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