#7D30B7#7D30B7

#7D30B7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.202 H 306.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7D30B7
RGBrgb(125, 48, 183)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 74%, 72%)
CMYKcmyk(31.7%, 73.8%, 0%, 28.2%)
CIE-LABlab(37.65, 56.20, -57.30)
CIE-LCHlch(37.65, 80.26, 314.45°)
OKLaboklab(48.77% 0.119 -0.1629)
OKLCHoklch(48.77% 0.202 306.2)
XYZxyz(18.0598, 9.8929, 45.7487)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B7 #6AB730
analogous
#3930B7 #7D30B7 #B730AE
triadic
#7D30B7 #B77D30 #30B77D
tetradic
#7D30B7 #B73930 #6AB730 #30AEB7
square
#7D30B7 #B73930 #6AB730 #30AEB7
split-complementary
#7D30B7 #AEB730 #30B739
monochromatic
#3B1756 #5C2387 #7D30B7 #9B52D2 #B783DE

Accessibility & contrast

On white

7.05
#7D30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7D30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B7#FFFFFF#000000##FFFFFF
##7D30B71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#735171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d30b7;
/* rgb */ color: rgb(125, 48, 183);
/* oklch */ color: oklch(48.8% 0.202 306.2);
Tailwind
colors: {
  custom: {
    50: '#a870cd',
    500: '#7d30b7',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b7;
$custom-light: #a870cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b7",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 274.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.20172,
    "h": 306.2
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#7D30B7
secondary
#9CC87B
accent
#E24689
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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