#6747BA#6747BA

#6747BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.173 H 291.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6747BA
RGBrgb(103, 71, 186)
HSLhsl(257, 45%, 50%)
HSVhsv(257, 62%, 73%)
CMYKcmyk(44.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(39.47, 40.99, -56.23)
CIE-LCHlch(39.47, 69.59, 306.09°)
OKLaboklab(49.56% 0.0638 -0.1606)
OKLCHoklch(49.56% 0.173 291.7)
XYZxyz(16.7072, 10.9347, 47.6752)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747BA #9ABA47
analogous
#4760BA #6747BA #A147BA
triadic
#6747BA #BA6747 #47BA67
tetradic
#6747BA #BA4760 #9ABA47 #47BAA1
square
#6747BA #BA4760 #9ABA47 #47BAA1
split-complementary
#6747BA #BAA147 #60BA47
monochromatic
#362562 #4E358E #6747BA #8C74CB #B1A0DB

Accessibility & contrast

On white

6.59
#6747BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6747BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747BA#FFFFFF#000000##FFFFFF
##6747BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#4F617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6747ba;
/* rgb */ color: rgb(103, 71, 186);
/* oklch */ color: oklch(49.6% 0.173 291.7);
Tailwind
colors: {
  custom: {
    50: '#987ccf',
    500: '#6747ba',
    950: '#000000',
  },
}
SCSS
$custom: #6747ba;
$custom-light: #987ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6747ba",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 256.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.17278,
    "h": 291.7
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#6747BA
secondary
#BAC895
accent
#D553B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6747BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6747BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva