#6746E9#6746E9

#6746E9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.231 H 284.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6746E9
RGBrgb(103, 70, 233)
HSLhsl(252, 79%, 59%)
HSVhsv(252, 70%, 91%)
CMYKcmyk(55.8%, 70%, 0%, 8.6%)
CIE-LABlab(42.98, 55.01, -77.59)
CIE-LCHlch(42.98, 95.11, 305.34°)
OKLaboklab(53.25% 0.0585 -0.2233)
OKLCHoklch(53.25% 0.231 284.7)
XYZxyz(22.4872, 13.1457, 78.4274)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746E9 #C8E946
analogous
#4677E9 #6746E9 #B846E9
triadic
#6746E9 #E96746 #46E967
tetradic
#6746E9 #E94677 #C8E946 #46E9B8
square
#6746E9 #E94677 #C8E946 #46E9B8
split-complementary
#6746E9 #E9B846 #77E946
monochromatic
#3013A1 #401AD8 #6746E9 #947DF0 #C1B3F6

Accessibility & contrast

On white

5.79
#6746E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6746E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746E9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746E9#FFFFFF#000000##FFFFFF
##6746E91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#0060E6
Tritanopia (blue-blind)
#277193
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6746e9;
/* rgb */ color: rgb(103, 70, 233);
/* oklch */ color: oklch(53.2% 0.231 284.7);
Tailwind
colors: {
  custom: {
    50: '#9f7cf1',
    500: '#6746e9',
    950: '#000000',
  },
}
SCSS
$custom: #6746e9;
$custom-light: #9f7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6746e9",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 252.147,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.23084,
    "h": 284.7
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#6746E9
secondary
#D8E5A6
accent
#F533CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6746E9

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

Preview Lab → · Contrast checker → · Palette generator →

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