#6746CA#6746CA

#6746CA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.194 H 289.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6746CA
RGBrgb(103, 70, 202)
HSLhsl(255, 55%, 53%)
HSVhsv(255, 65%, 79%)
CMYKcmyk(49%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.45, 46.12, -63.96)
CIE-LCHlch(40.45, 78.86, 305.79°)
OKLaboklab(50.65% 0.0633 -0.1833)
OKLCHoklch(50.65% 0.194 289.1)
XYZxyz(18.4413, 11.5274, 57.1190)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746CA #A9CA46
analogous
#4667CA #6746CA #A946CA
triadic
#6746CA #CA6746 #46CA67
tetradic
#6746CA #CA4667 #A9CA46 #46CAA9
square
#6746CA #CA4667 #A9CA46 #46CAA9
split-complementary
#6746CA #CAA946 #67CA46
monochromatic
#362174 #4C2FA4 #6746CA #8E76D8 #B5A5E5

Accessibility & contrast

On white

6.35
#6746CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6746CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746CA#FFFFFF#000000##FFFFFF
##6746CA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#456682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6746ca;
/* rgb */ color: rgb(103, 70, 202);
/* oklch */ color: oklch(50.7% 0.194 289.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bdb',
    500: '#6746ca',
    950: '#000000',
  },
}
SCSS
$custom: #6746ca;
$custom-light: #9a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6746ca",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.19394,
    "h": 289.1
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#6746CA
secondary
#C4D29A
accent
#DF49B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6746CA

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

Preview Lab → · Contrast checker → · Palette generator →

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