#7D2AB3#7D2AB3

#7D2AB3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.204 H 307.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2AB3
RGBrgb(125, 42, 179)
HSLhsl(276, 62%, 43%)
HSVhsv(276, 77%, 70%)
CMYKcmyk(30.2%, 76.5%, 0%, 29.8%)
CIE-LABlab(36.50, 57.72, -56.80)
CIE-LCHlch(36.50, 80.98, 315.46°)
OKLaboklab(47.86% 0.1253 -0.1614)
OKLCHoklch(47.86% 0.204 307.8)
XYZxyz(17.4204, 9.2708, 43.5108)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2AB3 #60B32A
analogous
#382AB3 #7D2AB3 #B32AA4
triadic
#7D2AB3 #B37D2A #2AB37D
tetradic
#7D2AB3 #B3382A #60B32A #2AA4B3
square
#7D2AB3 #B3382A #60B32A #2AA4B3
split-complementary
#7D2AB3 #A4B32A #2AB338
monochromatic
#381350 #5A1E81 #7D2AB3 #9C46D4 #B778DF

Accessibility & contrast

On white

7.36
#7D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2AB3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2AB3#FFFFFF#000000##FFFFFF
##7D2AB31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#744C6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2ab3;
/* rgb */ color: rgb(125, 42, 179);
/* oklch */ color: oklch(47.9% 0.204 307.8);
Tailwind
colors: {
  custom: {
    50: '#a86dcb',
    500: '#7d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ab3;
$custom-light: #a86dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ab3",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 276.35,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.2043,
    "h": 307.8
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#7D2AB3
secondary
#93C772
accent
#E54383
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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