#7D30B9#7D30B9

#7D30B9 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.204 H 305.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7D30B9
RGBrgb(125, 48, 185)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 74%, 73%)
CMYKcmyk(32.4%, 74.1%, 0%, 27.5%)
CIE-LABlab(37.80, 56.66, -58.23)
CIE-LCHlch(37.80, 81.25, 314.21°)
OKLaboklab(48.92% 0.1186 -0.1656)
OKLCHoklch(48.92% 0.204 305.6)
XYZxyz(18.2694, 9.9768, 46.8528)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B9 #6CB930
analogous
#3930B9 #7D30B9 #B930B0
triadic
#7D30B9 #B97D30 #30B97D
tetradic
#7D30B9 #B93930 #6CB930 #30B0B9
square
#7D30B9 #B93930 #6CB930 #30B0B9
split-complementary
#7D30B9 #B0B930 #30B939
monochromatic
#3B1758 #5C2388 #7D30B9 #9B54D3 #B784DF

Accessibility & contrast

On white

7.01
#7D30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7D30B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30B9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B9#FFFFFF#000000##FFFFFF
##7D30B91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d30b9;
/* rgb */ color: rgb(125, 48, 185);
/* oklch */ color: oklch(48.9% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#a870cf',
    500: '#7d30b9',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b9;
$custom-light: #a870cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b9",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 273.723,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.20371,
    "h": 305.6
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#7D30B9
secondary
#9EC97C
accent
#E2468A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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