#6746DB#6746DB

#6746DB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.214 H 286.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6746DB
RGBrgb(103, 70, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53%, 68%, 0%, 14.1%)
CIE-LABlab(41.81, 51.00, -71.54)
CIE-LCHlch(41.81, 87.86, 305.48°)
OKLaboklab(52.05% 0.0609 -0.2056)
OKLCHoklch(52.05% 0.214 286.5)
XYZxyz(20.5661, 12.3773, 68.3095)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746DB #BADB46
analogous
#466FDB #6746DB #B246DB
triadic
#6746DB #DB6746 #46DB67
tetradic
#6746DB #DB466F #BADB46 #46DBB2
square
#6746DB #DB466F #BADB46 #46DBB2
split-complementary
#6746DB #DBB246 #6FDB46
monochromatic
#341B8B #4725BF #6746DB #9179E5 #BBACEF

Accessibility & contrast

On white

6.04
#6746DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6746DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746DB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746DB#FFFFFF#000000##FFFFFF
##6746DB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#386C8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6746db;
/* rgb */ color: rgb(103, 70, 219);
/* oklch */ color: oklch(52.0% 0.214 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d7ce7',
    500: '#6746db',
    950: '#000000',
  },
}
SCSS
$custom: #6746db;
$custom-light: #9d7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6746db",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 253.289,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.21441,
    "h": 286.5
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#6746DB
secondary
#CFDDA0
accent
#EA3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6746DB

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

Preview Lab → · Contrast checker → · Palette generator →

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