#6D46EC#6D46EC

#6D46EC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.234 H 286.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6D46EC
RGBrgb(109, 70, 236)
HSLhsl(254, 81%, 60%)
HSVhsv(254, 70%, 93%)
CMYKcmyk(53.8%, 70.3%, 0%, 7.5%)
CIE-LABlab(43.78, 56.74, -77.95)
CIE-LCHlch(43.78, 96.42, 306.05°)
OKLaboklab(54.02% 0.0661 -0.2242)
OKLCHoklch(54.02% 0.234 286.4)
XYZxyz(23.6326, 13.6864, 80.7371)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D46EC #C5EC46
analogous
#4672EC #6D46EC #C046EC
triadic
#6D46EC #EC6D46 #46EC6D
tetradic
#6D46EC #EC4672 #C5EC46 #46ECC0
square
#6D46EC #EC4672 #C5EC46 #46ECC0
split-complementary
#6D46EC #ECC046 #72EC46
monochromatic
#3411A7 #4617DE #6D46EC #997DF2 #C5B5F7

Accessibility & contrast

On white

5.62
#6D46EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6D46EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D46EC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D46EC#FFFFFF#000000##FFFFFF
##6D46EC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d46ec;
/* rgb */ color: rgb(109, 70, 236);
/* oklch */ color: oklch(54.0% 0.234 286.4);
Tailwind
colors: {
  custom: {
    50: '#a37df3',
    500: '#6d46ec',
    950: '#000000',
  },
}
SCSS
$custom: #6d46ec;
$custom-light: #a37df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d46ec",
  "rgb": {
    "r": 109,
    "g": 70,
    "b": 236
  },
  "hsl": {
    "h": 254.096,
    "s": 81.373,
    "l": 60
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.23374,
    "h": 286.4
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#6D46EC
secondary
#D8E7A7
accent
#F830C9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D46EC

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

Preview Lab → · Contrast checker → · Palette generator →

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