#7D3FAC#7D3FAC

#7D3FAC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 307.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7D3FAC
RGBrgb(125, 63, 172)
HSLhsl(274, 46%, 46%)
HSVhsv(274, 63%, 67%)
CMYKcmyk(27.3%, 63.4%, 0%, 32.5%)
CIE-LABlab(39.40, 46.62, -47.95)
CIE-LCHlch(39.40, 66.88, 314.19°)
OKLaboklab(49.77% 0.104 -0.1355)
OKLCHoklch(49.77% 0.171 307.5)
XYZxyz(17.6798, 10.8938, 40.1931)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FAC #6EAC3F
analogous
#463FAC #7D3FAC #AC3FA4
triadic
#7D3FAC #AC7D3F #3FAC7D
tetradic
#7D3FAC #AC463F #6EAC3F #3FA4AC
square
#7D3FAC #AC463F #6EAC3F #3FA4AC
split-complementary
#7D3FAC #A4AC3F #3FAC46
monochromatic
#3C1E52 #5C2F7F #7D3FAC #9B63C6 #B88FD6

Accessibility & contrast

On white

6.61
#7D3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7D3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FAC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FAC#FFFFFF#000000##FFFFFF
##7D3FAC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#2B5DAA
Tritanopia (blue-blind)
#765570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3fac;
/* rgb */ color: rgb(125, 63, 172);
/* oklch */ color: oklch(49.8% 0.171 307.5);
Tailwind
colors: {
  custom: {
    50: '#a678c5',
    500: '#7d3fac',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fac;
$custom-light: #a678c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fac",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 274.128,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.17079,
    "h": 307.5
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#7D3FAC
secondary
#9FC186
accent
#D6528B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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