#7D38AD#7D38AD

#7D38AD is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.182 H 308.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D38AD
RGBrgb(125, 56, 173)
HSLhsl(275, 51%, 45%)
HSVhsv(275, 68%, 68%)
CMYKcmyk(27.7%, 67.6%, 0%, 32.2%)
CIE-LABlab(38.21, 50.32, -50.46)
CIE-LCHlch(38.21, 71.26, 314.92°)
OKLaboklab(48.94% 0.1121 -0.1428)
OKLCHoklch(48.94% 0.182 308.1)
XYZxyz(17.4129, 10.2057, 40.5796)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D38AD #68AD38
analogous
#4338AD #7D38AD #AD38A2
triadic
#7D38AD #AD7D38 #38AD7D
tetradic
#7D38AD #AD4338 #68AD38 #38A2AD
square
#7D38AD #AD4338 #68AD38 #38A2AD
split-complementary
#7D38AD #A2AD38 #38AD43
monochromatic
#3A1A51 #5C297F #7D38AD #9B59C9 #B787D8

Accessibility & contrast

On white

6.91
#7D38AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D38AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D38AD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D38AD#FFFFFF#000000##FFFFFF
##7D38AD1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#205BAA
Tritanopia (blue-blind)
#76516E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d38ad;
/* rgb */ color: rgb(125, 56, 173);
/* oklch */ color: oklch(48.9% 0.182 308.1);
Tailwind
colors: {
  custom: {
    50: '#a774c6',
    500: '#7d38ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d38ad;
$custom-light: #a774c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d38ad",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 275.385,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.18158,
    "h": 308.1
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#7D38AD
secondary
#9AC27F
accent
#DB4D87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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