#6746C8#6746C8

#6746C8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.192 H 289.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6746C8
RGBrgb(103, 70, 200)
HSLhsl(255, 54%, 53%)
HSVhsv(255, 65%, 78%)
CMYKcmyk(48.5%, 65%, 0%, 21.6%)
CIE-LABlab(40.30, 45.55, -63.06)
CIE-LCHlch(40.30, 77.78, 305.84°)
OKLaboklab(50.49% 0.0636 -0.1806)
OKLCHoklch(50.49% 0.192 289.4)
XYZxyz(18.2060, 11.4333, 55.8799)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746C8 #A7C846
analogous
#4666C8 #6746C8 #A846C8
triadic
#6746C8 #C86746 #46C867
tetradic
#6746C8 #C84666 #A7C846 #46C8A8
square
#6746C8 #C84666 #A7C846 #46C8A8
split-complementary
#6746C8 #C8A846 #66C846
monochromatic
#362272 #4D30A1 #6746C8 #8E75D6 #B5A4E4

Accessibility & contrast

On white

6.39
#6746C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6746C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746C8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746C8#FFFFFF#000000##FFFFFF
##6746C81.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#476681
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6746c8;
/* rgb */ color: rgb(103, 70, 200);
/* oklch */ color: oklch(50.5% 0.192 289.4);
Tailwind
colors: {
  custom: {
    50: '#9a7bda',
    500: '#6746c8',
    950: '#000000',
  },
}
SCSS
$custom: #6746c8;
$custom-light: #9a7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6746c8",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 255.231,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.1915,
    "h": 289.4
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#6746C8
secondary
#C3D199
accent
#DE4AB8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746C8

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

Preview Lab → · Contrast checker → · Palette generator →

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