#6746CF#6746CF

#6746CF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.200 H 288.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6746CF
RGBrgb(103, 70, 207)
HSLhsl(254, 59%, 54%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(50.2%, 66.2%, 0%, 18.8%)
CIE-LABlab(40.84, 47.55, -66.22)
CIE-LCHlch(40.84, 81.53, 305.68°)
OKLaboklab(51.06% 0.0627 -0.1899)
OKLCHoklch(51.06% 0.2 288.3)
XYZxyz(19.0429, 11.7680, 60.2874)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746CF #AECF46
analogous
#466ACF #6746CF #AC46CF
triadic
#6746CF #CF6746 #46CF67
tetradic
#6746CF #CF466A #AECF46 #46CFAC
square
#6746CF #CF466A #AECF46 #46CFAC
split-complementary
#6746CF #CFAC46 #6ACF46
monochromatic
#36207B #4B2CAB #6746CF #8F77DC #B7A7E8

Accessibility & contrast

On white

6.26
#6746CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6746CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746CF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746CF#FFFFFF#000000##FFFFFF
##6746CF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#426884
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6746cf;
/* rgb */ color: rgb(103, 70, 207);
/* oklch */ color: oklch(51.1% 0.200 288.3);
Tailwind
colors: {
  custom: {
    50: '#9b7cdf',
    500: '#6746cf',
    950: '#000000',
  },
}
SCSS
$custom: #6746cf;
$custom-light: #9b7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6746cf",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 254.453,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.20003,
    "h": 288.3
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#6746CF
secondary
#C7D59B
accent
#E246BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746CF

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

Preview Lab → · Contrast checker → · Palette generator →

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