#7D2FB3#7D2FB3

#7D2FB3 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 307.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7D2FB3
RGBrgb(125, 47, 179)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 74%, 70%)
CMYKcmyk(30.2%, 73.7%, 0%, 29.8%)
CIE-LABlab(37.20, 55.71, -55.66)
CIE-LCHlch(37.20, 78.75, 315.03°)
OKLaboklab(48.36% 0.1207 -0.158)
OKLCHoklch(48.36% 0.199 307.4)
XYZxyz(17.6089, 9.6479, 43.5737)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2FB3 #65B32F
analogous
#3B2FB3 #7D2FB3 #B32FA7
triadic
#7D2FB3 #B37D2F #2FB37D
tetradic
#7D2FB3 #B33B2F #65B32F #2FA7B3
square
#7D2FB3 #B33B2F #65B32F #2FA7B3
split-complementary
#7D2FB3 #A7B32F #2FB33B
monochromatic
#391652 #5B2283 #7D2FB3 #9B4FD1 #B77FDD

Accessibility & contrast

On white

7.17
#7D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7D2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2FB3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2FB3#FFFFFF#000000##FFFFFF
##7D2FB31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#744E6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d2fb3;
/* rgb */ color: rgb(125, 47, 179);
/* oklch */ color: oklch(48.4% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#a86fcb',
    500: '#7d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7d2fb3;
$custom-light: #a86fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2fb3",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 275.455,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.19885,
    "h": 307.4
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#7D2FB3
secondary
#98C678
accent
#E24686
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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