#7D46AF#7D46AF

#7D46AF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.164 H 305.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7D46AF
RGBrgb(125, 70, 175)
HSLhsl(271, 43%, 48%)
HSVhsv(271, 60%, 69%)
CMYKcmyk(28.6%, 60%, 0%, 31.4%)
CIE-LABlab(40.95, 43.67, -47.24)
CIE-LCHlch(40.95, 64.33, 312.75°)
OKLaboklab(50.96% 0.0952 -0.1334)
OKLCHoklch(50.96% 0.164 305.5)
XYZxyz(18.3838, 11.8356, 41.8651)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46AF #78AF46
analogous
#4946AF #7D46AF #AF46AC
triadic
#7D46AF #AF7D46 #46AF7D
tetradic
#7D46AF #AF4946 #78AF46 #46ACAF
square
#7D46AF #AF4946 #78AF46 #46ACAF
split-complementary
#7D46AF #ACAF46 #46AF49
monochromatic
#3F2358 #5E3583 #7D46AF #9B6DC5 #B999D6

Accessibility & contrast

On white

6.24
#7D46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46AF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46AF#FFFFFF#000000##FFFFFF
##7D46AF1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#745B74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d46af;
/* rgb */ color: rgb(125, 70, 175);
/* oklch */ color: oklch(51.0% 0.164 305.5);
Tailwind
colors: {
  custom: {
    50: '#a67cc7',
    500: '#7d46af',
    950: '#000000',
  },
}
SCSS
$custom: #7d46af;
$custom-light: #a67cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46af",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 271.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.16388,
    "h": 305.5
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#7D46AF
secondary
#A7C28E
accent
#D35591
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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