#7D38AF#7D38AF

#7D38AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.184 H 307.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7D38AF
RGBrgb(125, 56, 175)
HSLhsl(275, 52%, 45%)
HSVhsv(275, 68%, 69%)
CMYKcmyk(28.6%, 68%, 0%, 31.4%)
CIE-LABlab(38.35, 50.78, -51.43)
CIE-LCHlch(38.35, 72.27, 314.63°)
OKLaboklab(49.08% 0.1119 -0.1457)
OKLCHoklch(49.08% 0.184 307.5)
XYZxyz(17.6079, 10.2837, 41.6065)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D38AF #6AAF38
analogous
#4238AF #7D38AF #AF38A5
triadic
#7D38AF #AF7D38 #38AF7D
tetradic
#7D38AF #AF4238 #6AAF38 #38A5AF
square
#7D38AF #AF4238 #6AAF38 #38A5AF
split-complementary
#7D38AF #A5AF38 #38AF42
monochromatic
#3B1A52 #5C2981 #7D38AF #9B5ACA #B788D9

Accessibility & contrast

On white

6.87
#7D38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D38AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D38AF#FFFFFF#000000##FFFFFF
##7D38AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#75526F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d38af;
/* rgb */ color: rgb(125, 56, 175);
/* oklch */ color: oklch(49.1% 0.184 307.5);
Tailwind
colors: {
  custom: {
    50: '#a774c8',
    500: '#7d38af',
    950: '#000000',
  },
}
SCSS
$custom: #7d38af;
$custom-light: #a774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d38af",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 274.79,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.1837,
    "h": 307.5
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#7D38AF
secondary
#9CC380
accent
#DB4D89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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