#7D30B6#7D30B6

#7D30B6 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.201 H 306.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7D30B6
RGBrgb(125, 48, 182)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 74%, 71%)
CMYKcmyk(31.3%, 73.6%, 0%, 28.6%)
CIE-LABlab(37.57, 55.97, -56.83)
CIE-LCHlch(37.57, 79.77, 314.57°)
OKLaboklab(48.69% 0.1192 -0.1615)
OKLCHoklch(48.69% 0.201 306.4)
XYZxyz(17.9561, 9.8515, 45.2025)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B6 #69B630
analogous
#3A30B6 #7D30B6 #B630AC
triadic
#7D30B6 #B67D30 #30B67D
tetradic
#7D30B6 #B63A30 #69B630 #30ACB6
square
#7D30B6 #B63A30 #69B630 #30ACB6
split-complementary
#7D30B6 #ACB630 #30B63A
monochromatic
#3A1655 #5C2386 #7D30B6 #9B52D1 #B782DE

Accessibility & contrast

On white

7.07
#7D30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7D30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B6#FFFFFF#000000##FFFFFF
##7D30B61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d30b6;
/* rgb */ color: rgb(125, 48, 182);
/* oklch */ color: oklch(48.7% 0.201 306.4);
Tailwind
colors: {
  custom: {
    50: '#a870cd',
    500: '#7d30b6',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b6;
$custom-light: #a870cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b6",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 274.478,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.20072,
    "h": 306.4
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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