#7D3ECA#7D3ECA

#7D3ECA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.205 H 299.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7D3ECA
RGBrgb(125, 62, 202)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 69%, 79%)
CMYKcmyk(38.1%, 69.3%, 0%, 20.8%)
CIE-LABlab(41.33, 54.40, -62.44)
CIE-LCHlch(41.33, 82.81, 311.06°)
OKLaboklab(51.82% 0.1019 -0.1781)
OKLCHoklch(51.82% 0.205 299.8)
XYZxyz(20.8381, 12.0693, 57.0974)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3ECA #8BCA3E
analogous
#3E45CA #7D3ECA #C33ECA
triadic
#7D3ECA #CA7D3E #3ECA7D
tetradic
#7D3ECA #CA3E45 #8BCA3E #3ECAC3
square
#7D3ECA #CA3E45 #8BCA3E #3ECAC3
split-complementary
#7D3ECA #CAC33E #45CA3E
monochromatic
#431F6F #602C9F #7D3ECA #9D6ED7 #BE9EE4

Accessibility & contrast

On white

6.15
#7D3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7D3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3ECA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3ECA#FFFFFF#000000##FFFFFF
##7D3ECA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6B607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3eca;
/* rgb */ color: rgb(125, 62, 202);
/* oklch */ color: oklch(51.8% 0.205 299.8);
Tailwind
colors: {
  custom: {
    50: '#a978db',
    500: '#7d3eca',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eca;
$custom-light: #a978db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eca",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 267,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.20517,
    "h": 299.8
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#7D3ECA
secondary
#B5D193
accent
#E0489C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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