#7D2B9B#7D2B9B

#7D2B9B is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.180 H 315.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7D2B9B
RGBrgb(125, 43, 155)
HSLhsl(284, 57%, 39%)
HSVhsv(284, 72%, 61%)
CMYKcmyk(19.4%, 72.3%, 0%, 39.2%)
CIE-LABlab(34.91, 52.16, -44.96)
CIE-LCHlch(34.91, 68.87, 319.24°)
OKLaboklab(46.19% 0.1282 -0.1266)
OKLCHoklch(46.19% 0.18 315.4)
XYZxyz(15.2368, 8.4548, 31.8333)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B9B #499B2B
analogous
#452B9B #7D2B9B #9B2B81
triadic
#7D2B9B #9B7D2B #2B9B7D
tetradic
#7D2B9B #9B452B #499B2B #2B819B
square
#7D2B9B #9B452B #499B2B #2B819B
split-complementary
#7D2B9B #819B2B #2B9B45
monochromatic
#30103B #561E6B #7D2B9B #A33BC9 #B96BD6

Accessibility & contrast

On white

7.80
#7D2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B9B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B9B#FFFFFF#000000##FFFFFF
##7D2B9B1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#7B4260
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2b9b;
/* rgb */ color: rgb(125, 43, 155);
/* oklch */ color: oklch(46.2% 0.180 315.4);
Tailwind
colors: {
  custom: {
    50: '#a66cb9',
    500: '#7d2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b9b;
$custom-light: #a66cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b9b",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 283.929,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.18017,
    "h": 315.4
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#7D2B9B
secondary
#7DBC65
accent
#E04871
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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