#7D38AE#7D38AE

#7D38AE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.183 H 307.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D38AE
RGBrgb(125, 56, 174)
HSLhsl(275, 51%, 45%)
HSVhsv(275, 68%, 68%)
CMYKcmyk(28.2%, 67.8%, 0%, 31.8%)
CIE-LABlab(38.28, 50.55, -50.95)
CIE-LCHlch(38.28, 71.77, 314.77°)
OKLaboklab(49.01% 0.112 -0.1443)
OKLCHoklch(49.01% 0.183 307.8)
XYZxyz(17.5100, 10.2446, 41.0912)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D38AE #69AE38
analogous
#4238AE #7D38AE #AE38A4
triadic
#7D38AE #AE7D38 #38AE7D
tetradic
#7D38AE #AE4238 #69AE38 #38A4AE
square
#7D38AE #AE4238 #69AE38 #38A4AE
split-complementary
#7D38AE #A4AE38 #38AE42
monochromatic
#3A1A51 #5C2980 #7D38AE #9B59CA #B788D9

Accessibility & contrast

On white

6.89
#7D38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D38AE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D38AE#FFFFFF#000000##FFFFFF
##7D38AE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#75516E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d38ae;
/* rgb */ color: rgb(125, 56, 174);
/* oklch */ color: oklch(49.0% 0.183 307.8);
Tailwind
colors: {
  custom: {
    50: '#a774c7',
    500: '#7d38ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d38ae;
$custom-light: #a774c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d38ae",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 275.085,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.18264,
    "h": 307.8
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#7D38AE
secondary
#9BC37F
accent
#DB4D88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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