#6746D1#6746D1

#6746D1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.2% C 0.202 H 288.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6746D1
RGBrgb(103, 70, 209)
HSLhsl(254, 60%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(50.7%, 66.5%, 0%, 18%)
CIE-LABlab(41.00, 48.13, -67.12)
CIE-LCHlch(41.00, 82.59, 305.64°)
OKLaboklab(51.22% 0.0624 -0.1926)
OKLCHoklch(51.22% 0.202 288)
XYZxyz(19.2889, 11.8664, 61.5833)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746D1 #B0D146
analogous
#466AD1 #6746D1 #AD46D1
triadic
#6746D1 #D16746 #46D167
tetradic
#6746D1 #D1466A #B0D146 #46D1AD
square
#6746D1 #D1466A #B0D146 #46D1AD
split-complementary
#6746D1 #D1AD46 #6AD146
monochromatic
#361F7D #4A2BAE #6746D1 #8F77DD #B8A8E9

Accessibility & contrast

On white

6.23
#6746D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6746D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746D1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746D1#FFFFFF#000000##FFFFFF
##6746D11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#406986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6746d1;
/* rgb */ color: rgb(103, 70, 209);
/* oklch */ color: oklch(51.2% 0.202 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ce0',
    500: '#6746d1',
    950: '#000000',
  },
}
SCSS
$custom: #6746d1;
$custom-light: #9b7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#6746d1",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 254.245,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.20245,
    "h": 288
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#6746D1
secondary
#C9D79C
accent
#E344BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746D1

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

Preview Lab → · Contrast checker → · Palette generator →

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