#6747D4#6747D4

#6747D4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.6% C 0.205 H 287.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6747D4
RGBrgb(103, 71, 212)
HSLhsl(254, 62%, 55%)
HSVhsv(254, 67%, 83%)
CMYKcmyk(51.4%, 66.5%, 0%, 16.9%)
CIE-LABlab(41.44, 48.44, -68.13)
CIE-LCHlch(41.44, 83.59, 305.41°)
OKLaboklab(51.61% 0.0611 -0.1955)
OKLCHoklch(51.61% 0.205 287.3)
XYZxyz(19.7269, 12.1425, 63.5789)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747D4 #B4D447
analogous
#476DD4 #6747D4 #AD47D4
triadic
#6747D4 #D46747 #47D467
tetradic
#6747D4 #D4476D #B4D447 #47D4AD
square
#6747D4 #D4476D #B4D447 #47D4AD
split-complementary
#6747D4 #D4AD47 #6DD447
monochromatic
#351E82 #492AB4 #6747D4 #9079E0 #B9AAEB

Accessibility & contrast

On white

6.12
#6747D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6747D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747D4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747D4#FFFFFF#000000##FFFFFF
##6747D41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#3E6A88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6747d4;
/* rgb */ color: rgb(103, 71, 212);
/* oklch */ color: oklch(51.6% 0.205 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c7ce2',
    500: '#6747d4',
    950: '#000000',
  },
}
SCSS
$custom: #6747d4;
$custom-light: #9c7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#6747d4",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 253.617,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.20487,
    "h": 287.3
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#6747D4
secondary
#CBD99E
accent
#E543C0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #6747D4

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

Preview Lab → · Contrast checker → · Palette generator →

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