#7D2EC1#7D2EC1

#7D2EC1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.214 H 303.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7D2EC1
RGBrgb(125, 46, 193)
HSLhsl(272, 62%, 47%)
HSVhsv(272, 76%, 76%)
CMYKcmyk(35.2%, 76.2%, 0%, 24.3%)
CIE-LABlab(38.14, 59.31, -62.39)
CIE-LCHlch(38.14, 86.08, 313.55°)
OKLaboklab(49.35% 0.1187 -0.1778)
OKLCHoklch(49.35% 0.214 303.7)
XYZxyz(19.0578, 10.1643, 51.3996)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EC1 #72C12E
analogous
#342EC1 #7D2EC1 #C12EBC
triadic
#7D2EC1 #C17D2E #2EC17D
tetradic
#7D2EC1 #C1342E #72C12E #2EBCC1
square
#7D2EC1 #C1342E #72C12E #2EBCC1
split-complementary
#7D2EC1 #BCC12E #2EC134
monochromatic
#3D165E #5D2290 #7D2EC1 #9B56D7 #B887E2

Accessibility & contrast

On white

6.92
#7D2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D2EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2EC1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EC1#FFFFFF#000000##FFFFFF
##7D2EC11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6F5476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2ec1;
/* rgb */ color: rgb(125, 46, 193);
/* oklch */ color: oklch(49.3% 0.214 303.7);
Tailwind
colors: {
  custom: {
    50: '#a96fd5',
    500: '#7d2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ec1;
$custom-light: #a96fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ec1",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 272.245,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.2138,
    "h": 303.7
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#7D2EC1
secondary
#A3CC7F
accent
#E5438E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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