#6B47BB#6B47BB

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

Color values

HEX#6B47BB
RGBrgb(107, 71, 187)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 62%, 73%)
CMYKcmyk(42.8%, 62%, 0%, 26.7%)
CIE-LABlab(39.95, 42.12, -56.03)
CIE-LCHlch(39.95, 70.09, 306.93°)
OKLaboklab(50.03% 0.0691 -0.1598)
OKLCHoklch(50.03% 0.174 293.4)
XYZxyz(17.2839, 11.2197, 48.2590)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47BB #97BB47
analogous
#475DBB #6B47BB #A547BB
triadic
#6B47BB #BB6B47 #47BB6B
tetradic
#6B47BB #BB475D #97BB47 #47BBA5
square
#6B47BB #BB475D #97BB47 #47BBA5
split-complementary
#6B47BB #BBA547 #5DBB47
monochromatic
#382563 #513590 #6B47BB #8F74CC #B3A0DC

Accessibility & contrast

On white

6.47
#6B47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B47BB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47BB#FFFFFF#000000##FFFFFF
##6B47BB1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#55617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b47bb;
/* rgb */ color: rgb(107, 71, 187);
/* oklch */ color: oklch(50.0% 0.174 293.4);
Tailwind
colors: {
  custom: {
    50: '#9b7cd0',
    500: '#6b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b47bb;
$custom-light: #9b7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47bb",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 258.621,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50029,
    "c": 0.17415,
    "h": 293.4
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#6B47BB
secondary
#B9C995
accent
#D652AD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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