#7D46D4#7D46D4

#7D46D4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.206 H 296.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7D46D4
RGBrgb(125, 70, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41%, 67%, 0%, 16.9%)
CIE-LABlab(43.50, 52.98, -64.68)
CIE-LCHlch(43.50, 83.61, 309.32°)
OKLaboklab(53.61% 0.0923 -0.1847)
OKLCHoklch(53.61% 0.206 296.5)
XYZxyz(22.5282, 13.4933, 63.6921)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D4 #9DD446
analogous
#4656D4 #7D46D4 #C446D4
triadic
#7D46D4 #D47D46 #46D47D
tetradic
#7D46D4 #D44656 #9DD446 #46D4C4
square
#7D46D4 #D44656 #9DD446 #46D4C4
split-complementary
#7D46D4 #D4C446 #56D446
monochromatic
#451E81 #5F2AB3 #7D46D4 #A078E0 #C3A9EB

Accessibility & contrast

On white

5.68
#7D46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D4#FFFFFF#000000##FFFFFF
##7D46D41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#676887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d46d4;
/* rgb */ color: rgb(125, 70, 212);
/* oklch */ color: oklch(53.6% 0.206 296.5);
Tailwind
colors: {
  custom: {
    50: '#a97de2',
    500: '#7d46d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d4;
$custom-light: #a97de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d4",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 263.239,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.20647,
    "h": 296.5
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#7D46D4
secondary
#C2D99D
accent
#E542A6
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7D46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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