#7D30B8#7D30B8

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

Color values

HEX#7D30B8
RGBrgb(125, 48, 184)
HSLhsl(274, 59%, 45%)
HSVhsv(274, 74%, 72%)
CMYKcmyk(32.1%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.73, 56.43, -57.77)
CIE-LCHlch(37.73, 80.75, 314.33°)
OKLaboklab(48.84% 0.1188 -0.1642)
OKLCHoklch(48.84% 0.203 305.9)
XYZxyz(18.1642, 9.9347, 46.2988)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B8 #6BB830
analogous
#3930B8 #7D30B8 #B830AF
triadic
#7D30B8 #B87D30 #30B87D
tetradic
#7D30B8 #B83930 #6BB830 #30AFB8
square
#7D30B8 #B83930 #6BB830 #30AFB8
split-complementary
#7D30B8 #AFB830 #30B839
monochromatic
#3B1757 #5C2387 #7D30B8 #9B53D2 #B784DF

Accessibility & contrast

On white

7.03
#7D30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7D30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B8#FFFFFF#000000##FFFFFF
##7D30B81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d30b8;
/* rgb */ color: rgb(125, 48, 184);
/* oklch */ color: oklch(48.8% 0.203 305.9);
Tailwind
colors: {
  custom: {
    50: '#a870ce',
    500: '#7d30b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b8;
$custom-light: #a870ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b8",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 273.971,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.20272,
    "h": 305.9
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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