#6747E1#6747E1

#6747E1 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.220 H 285.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6747E1
RGBrgb(103, 71, 225)
HSLhsl(252, 72%, 58%)
HSVhsv(252, 68%, 88%)
CMYKcmyk(54.2%, 68.4%, 0%, 11.8%)
CIE-LABlab(42.50, 52.19, -73.84)
CIE-LCHlch(42.50, 90.42, 305.25°)
OKLaboklab(52.69% 0.0591 -0.2123)
OKLCHoklch(52.69% 0.22 285.6)
XYZxyz(21.4333, 12.8251, 72.5657)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747E1 #C1E147
analogous
#4774E1 #6747E1 #B447E1
triadic
#6747E1 #E16747 #47E167
tetradic
#6747E1 #E14774 #C1E147 #47E1B4
square
#6747E1 #E14774 #C1E147 #47E1B4
split-complementary
#6747E1 #E1B447 #74E147
monochromatic
#321895 #4421CA #6747E1 #927CEA #BEB0F2

Accessibility & contrast

On white

5.89
#6747E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6747E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747E1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747E1#FFFFFF#000000##FFFFFF
##6747E11.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#316F8F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6747e1;
/* rgb */ color: rgb(103, 71, 225);
/* oklch */ color: oklch(52.7% 0.220 285.6);
Tailwind
colors: {
  custom: {
    50: '#9e7dec',
    500: '#6747e1',
    950: '#000000',
  },
}
SCSS
$custom: #6747e1;
$custom-light: #9e7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6747e1",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 252.468,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.22038,
    "h": 285.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#6747E1
secondary
#D4E1A3
accent
#EF39C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6747E1

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

Preview Lab → · Contrast checker → · Palette generator →

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