#BA6BE3#BA6BE3

#BA6BE3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.186 H 312.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BA6BE3
RGBrgb(186, 107, 227)
HSLhsl(280, 68%, 65%)
HSVhsv(280, 53%, 89%)
CMYKcmyk(18.1%, 52.9%, 0%, 11%)
CIE-LABlab(58.51, 51.55, -48.71)
CIE-LCHlch(58.51, 70.93, 316.62°)
OKLaboklab(66.4% 0.1261 -0.1361)
OKLCHoklch(66.4% 0.186 312.8)
XYZxyz(39.3701, 26.5015, 75.6995)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BE3 #94E36B
analogous
#7E6BE3 #BA6BE3 #E36BD0
triadic
#BA6BE3 #E3BA6B #6BE3BA
tetradic
#BA6BE3 #E37E6B #94E36B #6BD0E3
square
#BA6BE3 #E37E6B #94E36B #6BD0E3
split-complementary
#BA6BE3 #D0E36B #6BE37E
monochromatic
#8122B2 #A238D9 #BA6BE3 #D29EED #EAD2F6

Accessibility & contrast

On white

3.33
#BA6BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BA6BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BE3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BE3#FFFFFF#000000##000000
##BA6BE31.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E7
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#B67F9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba6be3;
/* rgb */ color: rgb(186, 107, 227);
/* oklch */ color: oklch(66.4% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#d198ec',
    500: '#ba6be3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6be3;
$custom-light: #d198ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6be3",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 279.5,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.18557,
    "h": 312.8
  },
  "luminance": 0.26501
}

Semantic roles & 50–950 ramp

primary
#BA6BE3
secondary
#CFE9C1
accent
#D01555
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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