#6746CB#6746CB

#6746CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.195 H 288.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6746CB
RGBrgb(103, 70, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.53, 46.41, -64.42)
CIE-LCHlch(40.53, 79.39, 305.77°)
OKLaboklab(50.73% 0.0632 -0.1846)
OKLCHoklch(50.73% 0.195 288.9)
XYZxyz(18.5601, 11.5749, 57.7446)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746CB #AACB46
analogous
#4667CB #6746CB #A946CB
triadic
#6746CB #CB6746 #46CB67
tetradic
#6746CB #CB4667 #AACB46 #46CBA9
square
#6746CB #CB4667 #AACB46 #46CBA9
split-complementary
#6746CB #CBA946 #67CB46
monochromatic
#362176 #4C2EA5 #6746CB #8E76D8 #B5A6E6

Accessibility & contrast

On white

6.33
#6746CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6746CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746CB#FFFFFF#000000##FFFFFF
##6746CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#456782
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6746cb;
/* rgb */ color: rgb(103, 70, 203);
/* oklch */ color: oklch(50.7% 0.195 288.9);
Tailwind
colors: {
  custom: {
    50: '#9b7bdc',
    500: '#6746cb',
    950: '#000000',
  },
}
SCSS
$custom: #6746cb;
$custom-light: #9b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6746cb",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 254.887,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.19517,
    "h": 288.9
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#6746CB
secondary
#C5D39A
accent
#DF48BA
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746CB

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

Preview Lab → · Contrast checker → · Palette generator →

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