#7C46E0#7C46E0

#7C46E0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.220 H 293.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7C46E0
RGBrgb(124, 70, 224)
HSLhsl(261, 71%, 58%)
HSVhsv(261, 69%, 88%)
CMYKcmyk(44.6%, 68.8%, 0%, 12.2%)
CIE-LABlab(44.30, 55.91, -70.24)
CIE-LCHlch(44.30, 89.78, 308.52°)
OKLaboklab(54.44% 0.0891 -0.2011)
OKLCHoklch(54.44% 0.22 293.9)
XYZxyz(23.9532, 14.0465, 71.9558)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46E0 #AAE046
analogous
#465DE0 #7C46E0 #C946E0
triadic
#7C46E0 #E07C46 #46E07C
tetradic
#7C46E0 #E0465D #AAE046 #46E0C9
square
#7C46E0 #E0465D #AAE046 #46E0C9
split-complementary
#7C46E0 #E0C946 #5DE046
monochromatic
#441993 #5C21C7 #7C46E0 #A17AE9 #C6AFF2

Accessibility & contrast

On white

5.51
#7C46E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C46E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46E0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46E0#FFFFFF#000000##FFFFFF
##7C46E01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#5F6C8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c46e0;
/* rgb */ color: rgb(124, 70, 224);
/* oklch */ color: oklch(54.4% 0.220 293.9);
Tailwind
colors: {
  custom: {
    50: '#aa7deb',
    500: '#7c46e0',
    950: '#000000',
  },
}
SCSS
$custom: #7c46e0;
$custom-light: #aa7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46e0",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 261.039,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.21991,
    "h": 293.9
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#7C46E0
secondary
#CAE0A2
accent
#EE3AAF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C46E0

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

Preview Lab → · Contrast checker → · Palette generator →

#7C46E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva