#7D30B5#7D30B5

#7D30B5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.200 H 306.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7D30B5
RGBrgb(125, 48, 181)
HSLhsl(275, 58%, 45%)
HSVhsv(275, 73%, 71%)
CMYKcmyk(30.9%, 73.5%, 0%, 29%)
CIE-LABlab(37.50, 55.75, -56.36)
CIE-LCHlch(37.50, 79.27, 314.69°)
OKLaboklab(48.61% 0.1194 -0.1601)
OKLCHoklch(48.61% 0.2 306.7)
XYZxyz(17.8531, 9.8103, 44.6602)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B5 #68B530
analogous
#3B30B5 #7D30B5 #B530AB
triadic
#7D30B5 #B57D30 #30B57D
tetradic
#7D30B5 #B53B30 #68B530 #30ABB5
square
#7D30B5 #B53B30 #68B530 #30ABB5
split-complementary
#7D30B5 #ABB530 #30B53B
monochromatic
#3A1654 #5C2385 #7D30B5 #9B51D1 #B782DE

Accessibility & contrast

On white

7.09
#7D30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7D30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B5#FFFFFF#000000##FFFFFF
##7D30B51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#735070
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d30b5;
/* rgb */ color: rgb(125, 48, 181);
/* oklch */ color: oklch(48.6% 0.200 306.7);
Tailwind
colors: {
  custom: {
    50: '#a870cc',
    500: '#7d30b5',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b5;
$custom-light: #a870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b5",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 274.737,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48612,
    "c": 0.19972,
    "h": 306.7
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#7D30B5
secondary
#9AC77A
accent
#E14688
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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