#BA6DE3#BA6DE3

#BA6DE3 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.182 H 312.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#BA6DE3
RGBrgb(186, 109, 227)
HSLhsl(279, 68%, 66%)
HSVhsv(279, 52%, 89%)
CMYKcmyk(18.1%, 52%, 0%, 11%)
CIE-LABlab(58.90, 50.52, -48.09)
CIE-LCHlch(58.90, 69.75, 316.41°)
OKLaboklab(66.69% 0.1235 -0.1343)
OKLCHoklch(66.69% 0.182 312.6)
XYZxyz(39.5811, 26.9234, 75.7698)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DE3 #96E36D
analogous
#7F6DE3 #BA6DE3 #E36DD1
triadic
#BA6DE3 #E3BA6D #6DE3BA
tetradic
#BA6DE3 #E37F6D #96E36D #6DD1E3
square
#BA6DE3 #E37F6D #96E36D #6DD1E3
split-complementary
#BA6DE3 #D1E36D #6DE37F
monochromatic
#8122B3 #A23AD9 #BA6DE3 #D2A0ED #EBD4F7

Accessibility & contrast

On white

3.29
#BA6DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#BA6DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DE3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DE3#FFFFFF#000000##000000
##BA6DE31.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE7
Deuteranopia (green-blind)
#6790E0
Tritanopia (blue-blind)
#B6809E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6de3;
/* rgb */ color: rgb(186, 109, 227);
/* oklch */ color: oklch(66.7% 0.182 312.6);
Tailwind
colors: {
  custom: {
    50: '#d199ec',
    500: '#ba6de3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6de3;
$custom-light: #d199ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6de3",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 227
  },
  "hsl": {
    "h": 279.153,
    "s": 67.816,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66685,
    "c": 0.18245,
    "h": 312.6
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#BA6DE3
secondary
#D0E9C2
accent
#D01656
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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