#7D3FA8#7D3FA8

#7D3FA8 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.166 H 308.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D3FA8
RGBrgb(125, 63, 168)
HSLhsl(275, 45%, 45%)
HSVhsv(275, 63%, 66%)
CMYKcmyk(25.6%, 62.5%, 0%, 34.1%)
CIE-LABlab(39.14, 45.68, -45.98)
CIE-LCHlch(39.14, 64.82, 314.81°)
OKLaboklab(49.51% 0.1041 -0.1297)
OKLCHoklch(49.51% 0.166 308.7)
XYZxyz(17.3014, 10.7424, 38.2003)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FA8 #6AA83F
analogous
#493FA8 #7D3FA8 #A83F9E
triadic
#7D3FA8 #A87D3F #3FA87D
tetradic
#7D3FA8 #A8493F #6AA83F #3F9EA8
square
#7D3FA8 #A8493F #6AA83F #3F9EA8
split-complementary
#7D3FA8 #9EA83F #3FA849
monochromatic
#3B1E4F #5C2E7B #7D3FA8 #9B61C4 #B78DD4

Accessibility & contrast

On white

6.67
#7D3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D3FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FA8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FA8#FFFFFF#000000##FFFFFF
##7D3FA81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5AAB
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#77546D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d3fa8;
/* rgb */ color: rgb(125, 63, 168);
/* oklch */ color: oklch(49.5% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#a678c2',
    500: '#7d3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fa8;
$custom-light: #a678c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fa8",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 275.429,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.16634,
    "h": 308.7
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#7D3FA8
secondary
#9CBF84
accent
#D55388
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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