#7D46E1#7D46E1

#7D46E1 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.221 H 294.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D46E1
RGBrgb(125, 70, 225)
HSLhsl(261, 72%, 58%)
HSVhsv(261, 69%, 88%)
CMYKcmyk(44.4%, 68.9%, 0%, 11.8%)
CIE-LABlab(44.48, 56.35, -70.51)
CIE-LCHlch(44.48, 90.26, 308.63°)
OKLaboklab(54.62% 0.0903 -0.2018)
OKLCHoklch(54.62% 0.221 294.1)
XYZxyz(24.2345, 14.1759, 72.6789)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46E1 #AAE146
analogous
#465DE1 #7D46E1 #CA46E1
triadic
#7D46E1 #E17D46 #46E17D
tetradic
#7D46E1 #E1465D #AAE146 #46E1CA
square
#7D46E1 #E1465D #AAE146 #46E1CA
split-complementary
#7D46E1 #E1CA46 #5DE146
monochromatic
#441895 #5C21C9 #7D46E1 #A27BEA #C7AFF2

Accessibility & contrast

On white

5.48
#7D46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7D46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46E1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46E1#FFFFFF#000000##FFFFFF
##7D46E11.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#606D8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d46e1;
/* rgb */ color: rgb(125, 70, 225);
/* oklch */ color: oklch(54.6% 0.221 294.1);
Tailwind
colors: {
  custom: {
    50: '#aa7deb',
    500: '#7d46e1',
    950: '#000000',
  },
}
SCSS
$custom: #7d46e1;
$custom-light: #aa7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46e1",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 261.29,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.22107,
    "h": 294.1
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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