#BA6CED#BA6CED

#BA6CED is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.1% C 0.195 H 310.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA6CED
RGBrgb(186, 108, 237)
HSLhsl(276, 78%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.5%, 54.4%, 0%, 7.1%)
CIE-LABlab(59.23, 53.19, -53.15)
CIE-LCHlch(59.23, 75.19, 315.03°)
OKLaboklab(67.1% 0.1255 -0.1491)
OKLCHoklch(67.1% 0.195 310.1)
XYZxyz(40.8954, 27.2794, 83.2154)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CED #9FED6C
analogous
#796CED #BA6CED #ED6CE0
triadic
#BA6CED #EDBA6C #6CEDBA
tetradic
#BA6CED #ED796C #9FED6C #6CE0ED
square
#BA6CED #ED796C #9FED6C #6CE0ED
split-complementary
#BA6CED #E0ED6C #6CED79
monochromatic
#8218C6 #A035E6 #BA6CED #D4A3F4 #EDD9FA

Accessibility & contrast

On white

3.25
#BA6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BA6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CED
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CED#FFFFFF#000000##000000
##BA6CED1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF1
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#B383A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6ced;
/* rgb */ color: rgb(186, 108, 237);
/* oklch */ color: oklch(67.1% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#d299f3',
    500: '#ba6ced',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ced;
$custom-light: #d299f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ced",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 276.279,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67098,
    "c": 0.19485,
    "h": 310.1
  },
  "luminance": 0.27279
}

Semantic roles & 50–950 ramp

primary
#BA6CED
secondary
#D6EEC6
accent
#DA0B5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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