#7D2DC0#7D2DC0

#7D2DC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.214 H 304.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7D2DC0
RGBrgb(125, 45, 192)
HSLhsl(273, 62%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(34.9%, 76.6%, 0%, 24.7%)
CIE-LABlab(37.92, 59.47, -62.16)
CIE-LCHlch(37.92, 86.03, 313.74°)
OKLaboklab(49.17% 0.1198 -0.1771)
OKLCHoklch(49.17% 0.214 304.1)
XYZxyz(18.9081, 10.0426, 50.8012)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2DC0 #70C02D
analogous
#342DC0 #7D2DC0 #C02DBA
triadic
#7D2DC0 #C07D2D #2DC07D
tetradic
#7D2DC0 #C0342D #70C02D #2DBAC0
square
#7D2DC0 #C0342D #70C02D #2DBAC0
split-complementary
#7D2DC0 #BAC02D #2DC034
monochromatic
#3C165D #5D218E #7D2DC0 #9B53D7 #B885E2

Accessibility & contrast

On white

6.98
#7D2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7D2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2DC0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2DC0#FFFFFF#000000##FFFFFF
##7D2DC01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#705375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d2dc0;
/* rgb */ color: rgb(125, 45, 192);
/* oklch */ color: oklch(49.2% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#a96fd4',
    500: '#7d2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2dc0;
$custom-light: #a96fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2dc0",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 272.653,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49172,
    "c": 0.21384,
    "h": 304.1
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#7D2DC0
secondary
#A1CC7D
accent
#E5438D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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