#6747E6#6747E6

#6747E6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.226 H 284.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6747E6
RGBrgb(103, 71, 230)
HSLhsl(252, 76%, 59%)
HSVhsv(252, 69%, 90%)
CMYKcmyk(55.2%, 69.1%, 0%, 9.8%)
CIE-LABlab(42.92, 53.63, -76.00)
CIE-LCHlch(42.92, 93.01, 305.21°)
OKLaboklab(53.12% 0.0582 -0.2186)
OKLCHoklch(53.12% 0.226 284.9)
XYZxyz(22.1254, 13.1019, 76.2106)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747E6 #C6E647
analogous
#4777E6 #6747E6 #B647E6
triadic
#6747E6 #E66747 #47E667
tetradic
#6747E6 #E64777 #C6E647 #47E6B6
square
#6747E6 #E64777 #C6E647 #47E6B6
split-complementary
#6747E6 #E6B647 #77E647
monochromatic
#31159D #411DD3 #6747E6 #947DED #C0B3F5

Accessibility & contrast

On white

5.80
#6747E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6747E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747E6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747E6#FFFFFF#000000##FFFFFF
##6747E61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#2B7191
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6747e6;
/* rgb */ color: rgb(103, 71, 230);
/* oklch */ color: oklch(53.1% 0.226 284.9);
Tailwind
colors: {
  custom: {
    50: '#9e7def',
    500: '#6747e6',
    950: '#000000',
  },
}
SCSS
$custom: #6747e6;
$custom-light: #9e7def;
$custom-dark: #000000;
JSON
{
  "hex": "#6747e6",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 252.075,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.22625,
    "h": 284.9
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#6747E6
secondary
#D7E4A5
accent
#F335CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6747E6

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

Preview Lab → · Contrast checker → · Palette generator →

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