#7D30BE#7D30BE

#7D30BE is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.209 H 304.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D30BE
RGBrgb(125, 48, 190)
HSLhsl(273, 60%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(34.2%, 74.7%, 0%, 25.5%)
CIE-LABlab(38.18, 57.80, -60.55)
CIE-LCHlch(38.18, 83.71, 313.67°)
OKLaboklab(49.31% 0.1176 -0.1724)
OKLCHoklch(49.31% 0.209 304.3)
XYZxyz(18.8065, 10.1917, 49.6816)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30BE #71BE30
analogous
#3630BE #7D30BE #BE30B8
triadic
#7D30BE #BE7D30 #30BE7D
tetradic
#7D30BE #BE3630 #71BE30 #30B8BE
square
#7D30BE #BE3630 #71BE30 #30B8BE
split-complementary
#7D30BE #B8BE30 #30BE36
monochromatic
#3D175C #5D248D #7D30BE #9B57D4 #B888E1

Accessibility & contrast

On white

6.91
#7D30BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D30BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30BE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30BE#FFFFFF#000000##FFFFFF
##7D30BE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#705375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d30be;
/* rgb */ color: rgb(125, 48, 190);
/* oklch */ color: oklch(49.3% 0.209 304.3);
Tailwind
colors: {
  custom: {
    50: '#a870d3',
    500: '#7d30be',
    950: '#000000',
  },
}
SCSS
$custom: #7d30be;
$custom-light: #a870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30be",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 272.535,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.20872,
    "h": 304.3
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#7D30BE
secondary
#A2CB7F
accent
#E3458D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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