#6B47BF#6B47BF

#6B47BF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.179 H 292.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6B47BF
RGBrgb(107, 71, 191)
HSLhsl(258, 48%, 51%)
HSVhsv(258, 63%, 75%)
CMYKcmyk(44%, 62.8%, 0%, 25.1%)
CIE-LABlab(40.24, 43.23, -57.90)
CIE-LCHlch(40.24, 72.26, 306.75°)
OKLaboklab(50.33% 0.0688 -0.1654)
OKLCHoklch(50.33% 0.179 292.6)
XYZxyz(17.7180, 11.3933, 50.5457)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47BF #9BBF47
analogous
#475FBF #6B47BF #A747BF
triadic
#6B47BF #BF6B47 #47BF6B
tetradic
#6B47BF #BF475F #9BBF47 #47BFA7
square
#6B47BF #BF475F #9BBF47 #47BFA7
split-complementary
#6B47BF #BFA747 #5FBF47
monochromatic
#382468 #513495 #6B47BF #9074CF #B4A2DF

Accessibility & contrast

On white

6.40
#6B47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6B47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47BF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47BF#FFFFFF#000000##FFFFFF
##6B47BF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#53637C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b47bf;
/* rgb */ color: rgb(107, 71, 191);
/* oklch */ color: oklch(50.3% 0.179 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b7cd3',
    500: '#6b47bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b47bf;
$custom-light: #9b7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47bf",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 258,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.17912,
    "h": 292.6
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#6B47BF
secondary
#BBCB96
accent
#D850AF
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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