#6E46EC#6E46EC

#6E46EC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.234 H 286.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E46EC
RGBrgb(110, 70, 236)
HSLhsl(254, 81%, 60%)
HSVhsv(254, 70%, 93%)
CMYKcmyk(53.4%, 70.3%, 0%, 7.5%)
CIE-LABlab(43.87, 56.89, -77.80)
CIE-LCHlch(43.87, 96.38, 306.17°)
OKLaboklab(54.11% 0.0675 -0.2237)
OKLCHoklch(54.11% 0.234 286.8)
XYZxyz(23.7564, 13.7502, 80.7429)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46EC #C4EC46
analogous
#4671EC #6E46EC #C146EC
triadic
#6E46EC #EC6E46 #46EC6E
tetradic
#6E46EC #EC4671 #C4EC46 #46ECC1
square
#6E46EC #EC4671 #C4EC46 #46ECC1
split-complementary
#6E46EC #ECC146 #71EC46
monochromatic
#3511A7 #4717DE #6E46EC #9A7DF2 #C5B5F7

Accessibility & contrast

On white

5.60
#6E46EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6E46EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46EC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46EC#FFFFFF#000000##FFFFFF
##6E46EC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#397294
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e46ec;
/* rgb */ color: rgb(110, 70, 236);
/* oklch */ color: oklch(54.1% 0.234 286.8);
Tailwind
colors: {
  custom: {
    50: '#a37df3',
    500: '#6e46ec',
    950: '#000000',
  },
}
SCSS
$custom: #6e46ec;
$custom-light: #a37df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46ec",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 236
  },
  "hsl": {
    "h": 254.458,
    "s": 81.373,
    "l": 60
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.23366,
    "h": 286.8
  },
  "luminance": 0.13751
}

Semantic roles & 50–950 ramp

primary
#6E46EC
secondary
#D7E7A7
accent
#F830C8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6E46EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6E46EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva