#6747B2#6747B2

#6747B2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.163 H 293.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6747B2
RGBrgb(103, 71, 178)
HSLhsl(258, 43%, 49%)
HSVhsv(258, 60%, 70%)
CMYKcmyk(42.1%, 60.1%, 0%, 30.2%)
CIE-LABlab(38.91, 38.73, -52.43)
CIE-LCHlch(38.91, 65.19, 306.45°)
OKLaboklab(48.97% 0.0642 -0.1494)
OKLCHoklch(48.97% 0.163 293.2)
XYZxyz(15.8805, 10.6040, 43.3209)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747B2 #92B247
analogous
#475DB2 #6747B2 #9D47B2
triadic
#6747B2 #B26747 #47B267
tetradic
#6747B2 #B2475D #92B247 #47B29D
square
#6747B2 #B2475D #92B247 #47B29D
split-complementary
#6747B2 #B29D47 #5DB247
monochromatic
#34245B #4E3686 #6747B2 #8A70C6 #AE9CD7

Accessibility & contrast

On white

6.73
#6747B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6747B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747B2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747B2#FFFFFF#000000##FFFFFF
##6747B21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#535F75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6747b2;
/* rgb */ color: rgb(103, 71, 178);
/* oklch */ color: oklch(49.0% 0.163 293.2);
Tailwind
colors: {
  custom: {
    50: '#987bca',
    500: '#6747b2',
    950: '#000000',
  },
}
SCSS
$custom: #6747b2;
$custom-light: #987bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6747b2",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 257.944,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.1626,
    "h": 293.2
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#6747B2
secondary
#B5C491
accent
#D355AD
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6747B2

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

Preview Lab → · Contrast checker → · Palette generator →

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