#7D2AB9#7D2AB9

#7D2AB9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 306.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2AB9
RGBrgb(125, 42, 185)
HSLhsl(275, 63%, 45%)
HSVhsv(275, 77%, 73%)
CMYKcmyk(32.4%, 77.3%, 0%, 27.5%)
CIE-LABlab(36.96, 59.05, -59.59)
CIE-LCHlch(36.96, 83.89, 314.74°)
OKLaboklab(48.33% 0.124 -0.1696)
OKLCHoklch(48.33% 0.21 306.2)
XYZxyz(18.0404, 9.5189, 46.7765)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2AB9 #66B92A
analogous
#352AB9 #7D2AB9 #B92AAE
triadic
#7D2AB9 #B97D2A #2AB97D
tetradic
#7D2AB9 #B9352A #66B92A #2AAEB9
square
#7D2AB9 #B9352A #66B92A #2AAEB9
split-complementary
#7D2AB9 #AEB92A #2AB935
monochromatic
#3A1355 #5B1F87 #7D2AB9 #9B4AD6 #B77CE1

Accessibility & contrast

On white

7.23
#7D2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7D2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2AB9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2AB9#FFFFFF#000000##FFFFFF
##7D2AB91.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#724E71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2ab9;
/* rgb */ color: rgb(125, 42, 185);
/* oklch */ color: oklch(48.3% 0.210 306.2);
Tailwind
colors: {
  custom: {
    50: '#a86dcf',
    500: '#7d2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ab9;
$custom-light: #a86dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ab9",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 274.825,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.21007,
    "h": 306.2
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#7D2AB9
secondary
#99CA75
accent
#E64287
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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