#6747E4#6747E4

#6747E4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.224 H 285.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6747E4
RGBrgb(103, 71, 228)
HSLhsl(252, 74%, 59%)
HSVhsv(252, 69%, 89%)
CMYKcmyk(54.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(42.75, 53.05, -75.13)
CIE-LCHlch(42.75, 91.98, 305.23°)
OKLaboklab(52.95% 0.0586 -0.2161)
OKLCHoklch(52.95% 0.224 285.2)
XYZxyz(21.8461, 12.9902, 74.7400)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747E4 #C4E447
analogous
#4775E4 #6747E4 #B547E4
triadic
#6747E4 #E46747 #47E467
tetradic
#6747E4 #E44775 #C4E447 #47E4B5
square
#6747E4 #E44775 #C4E447 #47E4B5
split-complementary
#6747E4 #E4B547 #75E447
monochromatic
#31179A #421ECF #6747E4 #937CEC #BFB2F4

Accessibility & contrast

On white

5.84
#6747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6747E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747E4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747E4#FFFFFF#000000##FFFFFF
##6747E41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#2D7090
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6747e4;
/* rgb */ color: rgb(103, 71, 228);
/* oklch */ color: oklch(52.9% 0.224 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e7dee',
    500: '#6747e4',
    950: '#000000',
  },
}
SCSS
$custom: #6747e4;
$custom-light: #9e7dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6747e4",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 252.229,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.22391,
    "h": 285.2
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#6747E4
secondary
#D6E2A4
accent
#F137CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6747E4

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

Preview Lab → · Contrast checker → · Palette generator →

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