#7D2DB0#7D2DB0

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

Color values

HEX#7D2DB0
RGBrgb(125, 45, 176)
HSLhsl(277, 59%, 43%)
HSVhsv(277, 74%, 69%)
CMYKcmyk(29%, 74.4%, 0%, 31%)
CIE-LABlab(36.69, 55.87, -54.71)
CIE-LCHlch(36.69, 78.19, 315.60°)
OKLaboklab(47.92% 0.1232 -0.1552)
OKLCHoklch(47.92% 0.198 308.4)
XYZxyz(17.2307, 9.3716, 41.9671)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DB0 #60B02D
analogous
#3B2DB0 #7D2DB0 #B02DA1
triadic
#7D2DB0 #B07D2D #2DB07D
tetradic
#7D2DB0 #B03B2D #60B02D #2DA1B0
square
#7D2DB0 #B03B2D #60B02D #2DA1B0
split-complementary
#7D2DB0 #A1B02D #2DB03B
monochromatic
#38144F #5A217F #7D2DB0 #9C4AD1 #B77ADD

Accessibility & contrast

On white

7.31
#7D2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2DB0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DB0#FFFFFF#000000##FFFFFF
##7D2DB01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#754C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d2db0;
/* rgb */ color: rgb(125, 45, 176);
/* oklch */ color: oklch(47.9% 0.198 308.4);
Tailwind
colors: {
  custom: {
    50: '#a76ec8',
    500: '#7d2db0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2db0;
$custom-light: #a76ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2db0",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 276.641,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.19815,
    "h": 308.4
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#7D2DB0
secondary
#93C573
accent
#E24583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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