#7D2EAF#7D2EAF

#7D2EAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.196 H 308.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7D2EAF
RGBrgb(125, 46, 175)
HSLhsl(277, 58%, 43%)
HSVhsv(277, 74%, 69%)
CMYKcmyk(28.6%, 73.7%, 0%, 31.4%)
CIE-LABlab(36.76, 55.24, -54.00)
CIE-LCHlch(36.76, 77.24, 315.65°)
OKLaboklab(47.95% 0.1224 -0.1532)
OKLCHoklch(47.95% 0.196 308.6)
XYZxyz(17.1707, 9.4094, 41.4608)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2EAF #60AF2E
analogous
#3C2EAF #7D2EAF #AF2EA0
triadic
#7D2EAF #AF7D2E #2EAF7D
tetradic
#7D2EAF #AF3C2E #60AF2E #2EA0AF
square
#7D2EAF #AF3C2E #60AF2E #2EA0AF
split-complementary
#7D2EAF #A0AF2E #2EAF3C
monochromatic
#38154E #5A217F #7D2EAF #9C4BD0 #B77BDC

Accessibility & contrast

On white

7.29
#7D2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2EAF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2EAF#FFFFFF#000000##FFFFFF
##7D2EAF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0457AC
Tritanopia (blue-blind)
#754C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2eaf;
/* rgb */ color: rgb(125, 46, 175);
/* oklch */ color: oklch(47.9% 0.196 308.6);
Tailwind
colors: {
  custom: {
    50: '#a76ec8',
    500: '#7d2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2eaf;
$custom-light: #a76ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2eaf",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 276.744,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.19604,
    "h": 308.6
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#7D2EAF
secondary
#93C574
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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