#6747E2#6747E2

#6747E2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.222 H 285.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6747E2
RGBrgb(103, 71, 226)
HSLhsl(252, 73%, 58%)
HSVhsv(252, 69%, 89%)
CMYKcmyk(54.4%, 68.6%, 0%, 11.4%)
CIE-LABlab(42.58, 52.48, -74.27)
CIE-LCHlch(42.58, 90.94, 305.24°)
OKLaboklab(52.78% 0.0589 -0.2136)
OKLCHoklch(52.78% 0.222 285.4)
XYZxyz(21.5701, 12.8798, 73.2862)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747E2 #C2E247
analogous
#4774E2 #6747E2 #B447E2
triadic
#6747E2 #E26747 #47E267
tetradic
#6747E2 #E24774 #C2E247 #47E2B4
square
#6747E2 #E24774 #C2E247 #47E2B4
split-complementary
#6747E2 #E2B447 #74E247
monochromatic
#321897 #4420CC #6747E2 #937CEA #BEB1F3

Accessibility & contrast

On white

5.87
#6747E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6747E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747E2#FFFFFF#000000##FFFFFF
##6747E21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#306F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6747e2;
/* rgb */ color: rgb(103, 71, 226);
/* oklch */ color: oklch(52.8% 0.222 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e7dec',
    500: '#6747e2',
    950: '#000000',
  },
}
SCSS
$custom: #6747e2;
$custom-light: #9e7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6747e2",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 252.387,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.22156,
    "h": 285.4
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#6747E2
secondary
#D5E1A4
accent
#EF38CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6747E2

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

Preview Lab → · Contrast checker → · Palette generator →

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