#6747CC#6747CC

#6747CC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.195 H 288.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6747CC
RGBrgb(103, 71, 204)
HSLhsl(254, 57%, 54%)
HSVhsv(254, 65%, 80%)
CMYKcmyk(49.5%, 65.2%, 0%, 20%)
CIE-LABlab(40.81, 46.14, -64.54)
CIE-LCHlch(40.81, 79.33, 305.56°)
OKLaboklab(50.96% 0.0621 -0.185)
OKLCHoklch(50.96% 0.195 288.6)
XYZxyz(18.7427, 11.7489, 58.3952)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747CC #ACCC47
analogous
#476ACC #6747CC #AA47CC
triadic
#6747CC #CC6747 #47CC67
tetradic
#6747CC #CC476A #ACCC47 #47CCAA
square
#6747CC #CC476A #ACCC47 #47CCAA
split-complementary
#6747CC #CCAA47 #6ACC47
monochromatic
#362177 #4C2EA7 #6747CC #8F77D9 #B6A7E7

Accessibility & contrast

On white

6.27
#6747CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6747CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747CC#FFFFFF#000000##FFFFFF
##6747CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#446883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6747cc;
/* rgb */ color: rgb(103, 71, 204);
/* oklch */ color: oklch(51.0% 0.195 288.6);
Tailwind
colors: {
  custom: {
    50: '#9b7cdc',
    500: '#6747cc',
    950: '#000000',
  },
}
SCSS
$custom: #6747cc;
$custom-light: #9b7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6747cc",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 254.436,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.19514,
    "h": 288.6
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#6747CC
secondary
#C6D49B
accent
#E048BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6747CC

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

Preview Lab → · Contrast checker → · Palette generator →

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