#7D3ACA#7D3ACA

#7D3ACA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.210 H 300.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7D3ACA
RGBrgb(125, 58, 202)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 71%, 79%)
CMYKcmyk(38.1%, 71.3%, 0%, 20.8%)
CIE-LABlab(40.65, 56.28, -63.53)
CIE-LCHlch(40.65, 84.87, 311.53°)
OKLaboklab(51.35% 0.1058 -0.1813)
OKLCHoklch(51.35% 0.21 300.3)
XYZxyz(20.6285, 11.6502, 57.0276)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ACA #87CA3A
analogous
#3A3FCA #7D3ACA #C53ACA
triadic
#7D3ACA #CA7D3A #3ACA7D
tetradic
#7D3ACA #CA3A3F #87CA3A #3ACAC5
square
#7D3ACA #CA3A3F #87CA3A #3ACAC5
split-complementary
#7D3ACA #CAC53A #3FCA3A
monochromatic
#421D6C #5F2A9D #7D3ACA #9D6AD7 #BD9AE4

Accessibility & contrast

On white

6.31
#7D3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ACA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ACA#FFFFFF#000000##FFFFFF
##7D3ACA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6C5D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3aca;
/* rgb */ color: rgb(125, 58, 202);
/* oklch */ color: oklch(51.3% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#a976db',
    500: '#7d3aca',
    950: '#000000',
  },
}
SCSS
$custom: #7d3aca;
$custom-light: #a976db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3aca",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 267.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.2099,
    "h": 300.3
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#7D3ACA
secondary
#B2D090
accent
#E14799
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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