#6746CD#6746CD

#6746CD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.198 H 288.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6746CD
RGBrgb(103, 70, 205)
HSLhsl(255, 57%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.8%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.69, 46.98, -65.32)
CIE-LCHlch(40.69, 80.46, 305.72°)
OKLaboklab(50.89% 0.063 -0.1873)
OKLCHoklch(50.89% 0.198 288.6)
XYZxyz(18.7999, 11.6708, 59.0079)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746CD #ACCD46
analogous
#4669CD #6746CD #AB46CD
triadic
#6746CD #CD6746 #46CD67
tetradic
#6746CD #CD4669 #ACCD46 #46CDAB
square
#6746CD #CD4669 #ACCD46 #46CDAB
split-complementary
#6746CD #CDAB46 #69CD46
monochromatic
#362078 #4C2DA8 #6746CD #8F76DA #B6A6E7

Accessibility & contrast

On white

6.30
#6746CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6746CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746CD#FFFFFF#000000##FFFFFF
##6746CD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#436783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6746cd;
/* rgb */ color: rgb(103, 70, 205);
/* oklch */ color: oklch(50.9% 0.198 288.6);
Tailwind
colors: {
  custom: {
    50: '#9b7bdd',
    500: '#6746cd',
    950: '#000000',
  },
}
SCSS
$custom: #6746cd;
$custom-light: #9b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6746cd",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 254.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.1976,
    "h": 288.6
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#6746CD
secondary
#C6D49B
accent
#E147BB
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746CD

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

Preview Lab → · Contrast checker → · Palette generator →

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