#6746AC#6746AC

#6746AC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.4% C 0.156 H 294.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6746AC
RGBrgb(103, 70, 172)
HSLhsl(259, 42%, 47%)
HSVhsv(259, 59%, 67%)
CMYKcmyk(40.1%, 59.3%, 0%, 32.5%)
CIE-LABlab(38.27, 37.63, -49.90)
CIE-LCHlch(38.27, 62.50, 307.02°)
OKLaboklab(48.38% 0.0655 -0.1419)
OKLCHoklch(48.38% 0.156 294.8)
XYZxyz(15.2281, 10.2421, 40.1963)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746AC #8BAC46
analogous
#4658AC #6746AC #9A46AC
triadic
#6746AC #AC6746 #46AC67
tetradic
#6746AC #AC4658 #8BAC46 #46AC9A
square
#6746AC #AC4658 #8BAC46 #46AC9A
split-complementary
#6746AC #AC9A46 #58AC46
monochromatic
#332355 #4D3481 #6746AC #886CC3 #AB98D5

Accessibility & contrast

On white

6.89
#6746AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6746AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746AC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746AC#FFFFFF#000000##FFFFFF
##6746AC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025BAF
Deuteranopia (green-blind)
#1758AA
Tritanopia (blue-blind)
#555C72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6746ac;
/* rgb */ color: rgb(103, 70, 172);
/* oklch */ color: oklch(48.4% 0.156 294.8);
Tailwind
colors: {
  custom: {
    50: '#977bc5',
    500: '#6746ac',
    950: '#000000',
  },
}
SCSS
$custom: #6746ac;
$custom-light: #977bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6746ac",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 259.412,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.15635,
    "h": 294.8
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#6746AC
secondary
#B0C18D
accent
#D256AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6746AC

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

Preview Lab → · Contrast checker → · Palette generator →

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