#6B47BA#6B47BA

#6B47BA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.173 H 293.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6B47BA
RGBrgb(107, 71, 186)
HSLhsl(259, 45%, 50%)
HSVhsv(259, 62%, 73%)
CMYKcmyk(42.5%, 61.8%, 0%, 27.1%)
CIE-LABlab(39.88, 41.84, -55.55)
CIE-LCHlch(39.88, 69.55, 306.98°)
OKLaboklab(49.96% 0.0692 -0.1584)
OKLCHoklch(49.96% 0.173 293.6)
XYZxyz(17.1772, 11.1770, 47.6972)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47BA #96BA47
analogous
#475CBA #6B47BA #A547BA
triadic
#6B47BA #BA6B47 #47BA6B
tetradic
#6B47BA #BA475C #96BA47 #47BAA5
square
#6B47BA #BA475C #96BA47 #47BAA5
split-complementary
#6B47BA #BAA547 #5CBA47
monochromatic
#382562 #51358E #6B47BA #8F74CB #B3A0DB

Accessibility & contrast

On white

6.49
#6B47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6B47BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47BA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47BA#FFFFFF#000000##FFFFFF
##6B47BA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#56617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b47ba;
/* rgb */ color: rgb(107, 71, 186);
/* oklch */ color: oklch(50.0% 0.173 293.6);
Tailwind
colors: {
  custom: {
    50: '#9b7ccf',
    500: '#6b47ba',
    950: '#000000',
  },
}
SCSS
$custom: #6b47ba;
$custom-light: #9b7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47ba",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 258.783,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.1729,
    "h": 293.6
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#6B47BA
secondary
#B8C895
accent
#D553AC
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6B47BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6B47BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva