#7C46E1#7C46E1

#7C46E1 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.221 H 293.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C46E1
RGBrgb(124, 70, 225)
HSLhsl(261, 72%, 58%)
HSVhsv(261, 69%, 88%)
CMYKcmyk(44.9%, 68.9%, 0%, 11.8%)
CIE-LABlab(44.38, 56.17, -70.68)
CIE-LCHlch(44.38, 90.29, 308.47°)
OKLaboklab(54.52% 0.0889 -0.2024)
OKLCHoklch(54.52% 0.221 293.7)
XYZxyz(24.0892, 14.1009, 72.6721)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46E1 #ABE146
analogous
#465EE1 #7C46E1 #C946E1
triadic
#7C46E1 #E17C46 #46E17C
tetradic
#7C46E1 #E1465E #ABE146 #46E1C9
square
#7C46E1 #E1465E #ABE146 #46E1C9
split-complementary
#7C46E1 #E1C946 #5EE146
monochromatic
#431895 #5B21C9 #7C46E1 #A17BEA #C7AFF2

Accessibility & contrast

On white

5.50
#7C46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7C46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46E1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46E1#FFFFFF#000000##FFFFFF
##7C46E11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#5F6D8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c46e1;
/* rgb */ color: rgb(124, 70, 225);
/* oklch */ color: oklch(54.5% 0.221 293.7);
Tailwind
colors: {
  custom: {
    50: '#aa7deb',
    500: '#7c46e1',
    950: '#000000',
  },
}
SCSS
$custom: #7c46e1;
$custom-light: #aa7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46e1",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 260.903,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.22103,
    "h": 293.7
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#7C46E1
secondary
#CBE0A2
accent
#EF39AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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