#7D2EC0#7D2EC0

#7D2EC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.213 H 304.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D2EC0
RGBrgb(125, 46, 192)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(34.9%, 76%, 0%, 24.7%)
CIE-LABlab(38.06, 59.08, -61.93)
CIE-LCHlch(38.06, 85.59, 313.65°)
OKLaboklab(49.27% 0.1189 -0.1765)
OKLCHoklch(49.27% 0.213 304)
XYZxyz(18.9467, 10.1198, 50.8141)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EC0 #71C02E
analogous
#342EC0 #7D2EC0 #C02EBA
triadic
#7D2EC0 #C07D2E #2EC07D
tetradic
#7D2EC0 #C0342E #71C02E #2EBAC0
square
#7D2EC0 #C0342E #71C02E #2EBAC0
split-complementary
#7D2EC0 #BAC02E #2EC034
monochromatic
#3D165D #5D228F #7D2EC0 #9B55D6 #B886E2

Accessibility & contrast

On white

6.94
#7D2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2EC0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EC0#FFFFFF#000000##FFFFFF
##7D2EC01.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#705376
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d2ec0;
/* rgb */ color: rgb(125, 46, 192);
/* oklch */ color: oklch(49.3% 0.213 304.0);
Tailwind
colors: {
  custom: {
    50: '#a96fd4',
    500: '#7d2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ec0;
$custom-light: #a96fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ec0",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 272.466,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49269,
    "c": 0.21282,
    "h": 304
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#7D2EC0
secondary
#A2CC7E
accent
#E4438D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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