#6746D7#6746D7

#6746D7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.210 H 287.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6746D7
RGBrgb(103, 70, 215)
HSLhsl(254, 64%, 56%)
HSVhsv(254, 67%, 84%)
CMYKcmyk(52.1%, 67.4%, 0%, 15.7%)
CIE-LABlab(41.48, 49.85, -69.78)
CIE-LCHlch(41.48, 85.76, 305.54°)
OKLaboklab(51.71% 0.0616 -0.2004)
OKLCHoklch(51.71% 0.21 287.1)
XYZxyz(20.0458, 12.1692, 65.5694)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746D7 #B6D746
analogous
#466DD7 #6746D7 #AF46D7
triadic
#6746D7 #D76746 #46D767
tetradic
#6746D7 #D7466D #B6D746 #46D7AF
square
#6746D7 #D7466D #B6D746 #46D7AF
split-complementary
#6746D7 #D7AF46 #6DD746
monochromatic
#351D86 #4928B8 #6746D7 #9078E2 #BAABED

Accessibility & contrast

On white

6.12
#6746D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6746D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746D7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746D7#FFFFFF#000000##FFFFFF
##6746D71.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)
#0065DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#3B6B89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6746d7;
/* rgb */ color: rgb(103, 70, 215);
/* oklch */ color: oklch(51.7% 0.210 287.1);
Tailwind
colors: {
  custom: {
    50: '#9c7ce4',
    500: '#6746d7',
    950: '#000000',
  },
}
SCSS
$custom: #6746d7;
$custom-light: #9c7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#6746d7",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 253.655,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.20964,
    "h": 287.1
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#6746D7
secondary
#CDDA9E
accent
#E740C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6746D7

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

Preview Lab → · Contrast checker → · Palette generator →

#6746D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva