#7C46D9#7C46D9

#7C46D9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.212 H 295.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C46D9
RGBrgb(124, 70, 217)
HSLhsl(262, 66%, 56%)
HSVhsv(262, 68%, 85%)
CMYKcmyk(42.9%, 67.7%, 0%, 14.9%)
CIE-LABlab(43.76, 54.09, -67.12)
CIE-LCHlch(43.76, 86.20, 308.86°)
OKLaboklab(53.89% 0.0902 -0.1919)
OKLCHoklch(53.89% 0.212 295.2)
XYZxyz(23.0234, 13.6746, 67.0586)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46D9 #A3D946
analogous
#465AD9 #7C46D9 #C646D9
triadic
#7C46D9 #D97C46 #46D97C
tetradic
#7C46D9 #D9465A #A3D946 #46D9C6
square
#7C46D9 #D9465A #A3D946 #46D9C6
split-complementary
#7C46D9 #D9C646 #5AD946
monochromatic
#441C89 #5D26BB #7C46D9 #A079E3 #C4ACEE

Accessibility & contrast

On white

5.62
#7C46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7C46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46D9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46D9#FFFFFF#000000##FFFFFF
##7C46D91.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)
#0069DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#636A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c46d9;
/* rgb */ color: rgb(124, 70, 217);
/* oklch */ color: oklch(53.9% 0.212 295.2);
Tailwind
colors: {
  custom: {
    50: '#a97de6',
    500: '#7c46d9',
    950: '#000000',
  },
}
SCSS
$custom: #7c46d9;
$custom-light: #a97de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46d9",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 262.041,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53892,
    "c": 0.21203,
    "h": 295.2
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#7C46D9
secondary
#C5DC9F
accent
#E93FAA
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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