#7D3FB8#7D3FB8

#7D3FB8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.184 H 304.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D3FB8
RGBrgb(125, 63, 184)
HSLhsl(271, 49%, 48%)
HSVhsv(271, 66%, 72%)
CMYKcmyk(32.1%, 65.8%, 0%, 27.8%)
CIE-LABlab(40.21, 49.49, -53.75)
CIE-LCHlch(40.21, 73.06, 312.64°)
OKLaboklab(50.61% 0.1031 -0.1525)
OKLCHoklch(50.61% 0.184 304.1)
XYZxyz(18.8847, 11.3757, 46.5390)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FB8 #7AB83F
analogous
#403FB8 #7D3FB8 #B83FB6
triadic
#7D3FB8 #B87D3F #3FB87D
tetradic
#7D3FB8 #B8403F #7AB83F #3FB6B8
square
#7D3FB8 #B8403F #7AB83F #3FB6B8
split-complementary
#7D3FB8 #B6B83F #3FB840
monochromatic
#3F205D #5E2F8A #7D3FB8 #9B69CC #BA96DB

Accessibility & contrast

On white

6.41
#7D3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D3FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FB8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FB8#FFFFFF#000000##FFFFFF
##7D3FB81.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#175FB5
Tritanopia (blue-blind)
#725976
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3fb8;
/* rgb */ color: rgb(125, 63, 184);
/* oklch */ color: oklch(50.6% 0.184 304.1);
Tailwind
colors: {
  custom: {
    50: '#a778ce',
    500: '#7d3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fb8;
$custom-light: #a778ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fb8",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 270.744,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.1841,
    "h": 304.1
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#7D3FB8
secondary
#A9C78C
accent
#D94F92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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