#7D2DAF#7D2DAF

#7D2DAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 308.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7D2DAF
RGBrgb(125, 45, 175)
HSLhsl(277, 59%, 43%)
HSVhsv(277, 74%, 69%)
CMYKcmyk(28.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(36.62, 55.65, -54.23)
CIE-LCHlch(36.62, 77.70, 315.74°)
OKLaboklab(47.85% 0.1233 -0.1538)
OKLCHoklch(47.85% 0.197 308.7)
XYZxyz(17.1321, 9.3322, 41.4479)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DAF #5FAF2D
analogous
#3C2DAF #7D2DAF #AF2DA0
triadic
#7D2DAF #AF7D2D #2DAF7D
tetradic
#7D2DAF #AF3C2D #5FAF2D #2DA0AF
square
#7D2DAF #AF3C2D #5FAF2D #2DA0AF
split-complementary
#7D2DAF #A0AF2D #2DAF3C
monochromatic
#37144E #5A207E #7D2DAF #9C49D0 #B77ADD

Accessibility & contrast

On white

7.33
#7D2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7D2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2DAF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DAF#FFFFFF#000000##FFFFFF
##7D2DAF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2daf;
/* rgb */ color: rgb(125, 45, 175);
/* oklch */ color: oklch(47.8% 0.197 308.7);
Tailwind
colors: {
  custom: {
    50: '#a76ec8',
    500: '#7d2daf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2daf;
$custom-light: #a76ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2daf",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 276.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.19717,
    "h": 308.7
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#7D2DAF
secondary
#92C573
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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