#7D30B2#7D30B2

#7D30B2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.197 H 307.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7D30B2
RGBrgb(125, 48, 178)
HSLhsl(276, 58%, 44%)
HSVhsv(276, 73%, 70%)
CMYKcmyk(29.8%, 73%, 0%, 30.2%)
CIE-LABlab(37.28, 55.07, -54.94)
CIE-LCHlch(37.28, 77.79, 315.07°)
OKLaboklab(48.39% 0.1199 -0.1559)
OKLCHoklch(48.39% 0.197 307.6)
XYZxyz(17.5486, 9.6885, 43.0564)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B2 #65B230
analogous
#3C30B2 #7D30B2 #B230A6
triadic
#7D30B2 #B27D30 #30B27D
tetradic
#7D30B2 #B23C30 #65B230 #30A6B2
square
#7D30B2 #B23C30 #65B230 #30A6B2
split-complementary
#7D30B2 #A6B230 #30B23C
monochromatic
#391652 #5B2382 #7D30B2 #9B50D0 #B780DD

Accessibility & contrast

On white

7.15
#7D30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7D30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B2#FFFFFF#000000##FFFFFF
##7D30B21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#744E6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d30b2;
/* rgb */ color: rgb(125, 48, 178);
/* oklch */ color: oklch(48.4% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#a770ca',
    500: '#7d30b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b2;
$custom-light: #a770ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b2",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 275.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.19671,
    "h": 307.6
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#7D30B2
secondary
#98C678
accent
#E14786
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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