#6747DC#6747DC

#6747DC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.214 H 286.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6747DC
RGBrgb(103, 71, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.2%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.09, 50.75, -71.66)
CIE-LCHlch(42.09, 87.81, 305.30°)
OKLaboklab(52.27% 0.0599 -0.2059)
OKLCHoklch(52.27% 0.214 286.2)
XYZxyz(20.7612, 12.5562, 69.0259)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747DC #BCDC47
analogous
#4772DC #6747DC #B247DC
triadic
#6747DC #DC6747 #47DC67
tetradic
#6747DC #DC4772 #BCDC47 #47DCB2
square
#6747DC #DC4772 #BCDC47 #47DCB2
split-complementary
#6747DC #DCB247 #72DC47
monochromatic
#341B8E #4625C1 #6747DC #917AE6 #BCAEF0

Accessibility & contrast

On white

5.98
#6747DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6747DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747DC#FFFFFF#000000##FFFFFF
##6747DC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#366D8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6747dc;
/* rgb */ color: rgb(103, 71, 220);
/* oklch */ color: oklch(52.3% 0.214 286.2);
Tailwind
colors: {
  custom: {
    50: '#9d7de8',
    500: '#6747dc',
    950: '#000000',
  },
}
SCSS
$custom: #6747dc;
$custom-light: #9d7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6747dc",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 252.886,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.21446,
    "h": 286.2
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#6747DC
secondary
#D1DEA1
accent
#EB3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6747DC

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

Preview Lab → · Contrast checker → · Palette generator →

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