#6746D2#6746D2

#6746D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.204 H 287.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6746D2
RGBrgb(103, 70, 210)
HSLhsl(254, 61%, 55%)
HSVhsv(254, 67%, 82%)
CMYKcmyk(51%, 66.7%, 0%, 17.6%)
CIE-LABlab(41.08, 48.41, -67.56)
CIE-LCHlch(41.08, 83.12, 305.62°)
OKLaboklab(51.3% 0.0623 -0.1939)
OKLCHoklch(51.3% 0.204 287.8)
XYZxyz(19.4131, 11.9161, 62.2374)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746D2 #B1D246
analogous
#466BD2 #6746D2 #AD46D2
triadic
#6746D2 #D26746 #46D267
tetradic
#6746D2 #D2466B #B1D246 #46D2AD
square
#6746D2 #D2466B #B1D246 #46D2AD
split-complementary
#6746D2 #D2AD46 #6BD246
monochromatic
#351F7F #4A2BB0 #6746D2 #8F77DE #B8A8EA

Accessibility & contrast

On white

6.21
#6746D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6746D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746D2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746D2#FFFFFF#000000##FFFFFF
##6746D21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#3F6986
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6746d2;
/* rgb */ color: rgb(103, 70, 210);
/* oklch */ color: oklch(51.3% 0.204 287.8);
Tailwind
colors: {
  custom: {
    50: '#9c7ce1',
    500: '#6746d2',
    950: '#000000',
  },
}
SCSS
$custom: #6746d2;
$custom-light: #9c7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#6746d2",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 254.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51301,
    "c": 0.20365,
    "h": 287.8
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6746D2

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

Preview Lab → · Contrast checker → · Palette generator →

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