#7D46D9#7D46D9

#7D46D9 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.212 H 295.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7D46D9
RGBrgb(125, 70, 217)
HSLhsl(262, 66%, 56%)
HSVhsv(262, 68%, 85%)
CMYKcmyk(42.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(43.87, 54.27, -66.94)
CIE-LCHlch(43.87, 86.18, 309.03°)
OKLaboklab(54% 0.0916 -0.1913)
OKLCHoklch(54% 0.212 295.6)
XYZxyz(23.1687, 13.7495, 67.0654)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D9 #A2D946
analogous
#4659D9 #7D46D9 #C746D9
triadic
#7D46D9 #D97D46 #46D97D
tetradic
#7D46D9 #D94659 #A2D946 #46D9C7
square
#7D46D9 #D94659 #A2D946 #46D9C7
split-complementary
#7D46D9 #D9C746 #59D946
monochromatic
#451C89 #5E26BB #7D46D9 #A179E3 #C4ACEE

Accessibility & contrast

On white

5.60
#7D46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7D46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D9#FFFFFF#000000##FFFFFF
##7D46D91.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)
#0069DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#646A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d46d9;
/* rgb */ color: rgb(125, 70, 217);
/* oklch */ color: oklch(54.0% 0.212 295.6);
Tailwind
colors: {
  custom: {
    50: '#aa7de6',
    500: '#7d46d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d9;
$custom-light: #aa7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d9",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 262.449,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.21211,
    "h": 295.6
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#7D46D9
secondary
#C5DC9F
accent
#E93FA9
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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