#7D1DC9#7D1DC9

#7D1DC9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.7% C 0.236 H 303.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7D1DC9
RGBrgb(125, 29, 201)
HSLhsl(273, 75%, 45%)
HSVhsv(273, 86%, 79%)
CMYKcmyk(37.8%, 85.6%, 0%, 21.2%)
CIE-LABlab(36.85, 66.79, -69.17)
CIE-LCHlch(36.85, 96.15, 314.00°)
OKLaboklab(48.66% 0.1284 -0.1976)
OKLCHoklch(48.66% 0.236 303)
XYZxyz(19.4369, 9.4557, 56.0482)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1DC9 #69C91D
analogous
#271DC9 #7D1DC9 #C91DBF
triadic
#7D1DC9 #C97D1D #1DC97D
tetradic
#7D1DC9 #C9271D #69C91D #1DBFC9
square
#7D1DC9 #C9271D #69C91D #1DBFC9
split-complementary
#7D1DC9 #BFC91D #1DC927
monochromatic
#3A0E5E #5C1594 #7D1DC9 #9B40E3 #B775EB

Accessibility & contrast

On white

7.26
#7D1DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7D1DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1DC9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1DC9#FFFFFF#000000##FFFFFF
##7D1DC91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#6D5178
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d1dc9;
/* rgb */ color: rgb(125, 29, 201);
/* oklch */ color: oklch(48.7% 0.236 303.0);
Tailwind
colors: {
  custom: {
    50: '#aa69db',
    500: '#7d1dc9',
    950: '#000000',
  },
}
SCSS
$custom: #7d1dc9;
$custom-light: #aa69db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1dc9",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 201
  },
  "hsl": {
    "h": 273.488,
    "s": 74.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.23567,
    "h": 303
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#7D1DC9
secondary
#9BD270
accent
#F13689
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7D1DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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