#6746D9#6746D9

#6746D9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.212 H 286.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6746D9
RGBrgb(103, 70, 217)
HSLhsl(253, 66%, 56%)
HSVhsv(253, 68%, 85%)
CMYKcmyk(52.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(41.65, 50.42, -70.66)
CIE-LCHlch(41.65, 86.81, 305.51°)
OKLaboklab(51.88% 0.0613 -0.203)
OKLCHoklch(51.88% 0.212 286.8)
XYZxyz(20.3043, 12.2726, 66.9312)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746D9 #B8D946
analogous
#466FD9 #6746D9 #B046D9
triadic
#6746D9 #D96746 #46D967
tetradic
#6746D9 #D9466F #B8D946 #46D9B0
square
#6746D9 #D9466F #B8D946 #46D9B0
split-complementary
#6746D9 #D9B046 #6FD946
monochromatic
#341C89 #4826BB #6746D9 #9179E3 #BAACEE

Accessibility & contrast

On white

6.08
#6746D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6746D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746D9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746D9#FFFFFF#000000##FFFFFF
##6746D91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#396C8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6746d9;
/* rgb */ color: rgb(103, 70, 217);
/* oklch */ color: oklch(51.9% 0.212 286.8);
Tailwind
colors: {
  custom: {
    50: '#9d7ce6',
    500: '#6746d9',
    950: '#000000',
  },
}
SCSS
$custom: #6746d9;
$custom-light: #9d7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#6746d9",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 253.469,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.21203,
    "h": 286.8
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#6746D9
secondary
#CEDC9F
accent
#E93FC3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6746D9

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

Preview Lab → · Contrast checker → · Palette generator →

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