#7D2DB3#7D2DB3

#7D2DB3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.201 H 307.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2DB3
RGBrgb(125, 45, 179)
HSLhsl(276, 60%, 44%)
HSVhsv(276, 75%, 70%)
CMYKcmyk(30.2%, 74.9%, 0%, 29.8%)
CIE-LABlab(36.91, 56.54, -56.12)
CIE-LCHlch(36.91, 79.66, 315.21°)
OKLaboklab(48.15% 0.1226 -0.1594)
OKLCHoklch(48.15% 0.201 307.6)
XYZxyz(17.5308, 9.4917, 43.5476)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DB3 #63B32D
analogous
#3A2DB3 #7D2DB3 #B32DA6
triadic
#7D2DB3 #B37D2D #2DB37D
tetradic
#7D2DB3 #B33A2D #63B32D #2DA6B3
square
#7D2DB3 #B33A2D #63B32D #2DA6B3
split-complementary
#7D2DB3 #A6B32D #2DB33A
monochromatic
#391451 #5B2182 #7D2DB3 #9C4BD2 #B77CDE

Accessibility & contrast

On white

7.25
#7D2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2DB3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DB3#FFFFFF#000000##FFFFFF
##7D2DB31.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#744D6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d2db3;
/* rgb */ color: rgb(125, 45, 179);
/* oklch */ color: oklch(48.2% 0.201 307.6);
Tailwind
colors: {
  custom: {
    50: '#a86ecb',
    500: '#7d2db3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2db3;
$custom-light: #a86ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2db3",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 275.821,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.2011,
    "h": 307.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#7D2DB3
secondary
#96C775
accent
#E34585
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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