#7E30C0#7E30C0

#7E30C0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.211 H 304.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7E30C0
RGBrgb(126, 48, 192)
HSLhsl(273, 60%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(34.4%, 75%, 0%, 24.7%)
CIE-LABlab(38.47, 58.44, -61.25)
CIE-LCHlch(38.47, 84.66, 313.66°)
OKLaboklab(49.59% 0.1186 -0.1745)
OKLCHoklch(49.59% 0.211 304.2)
XYZxyz(19.1734, 10.3554, 50.8476)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30C0 #72C030
analogous
#3630C0 #7E30C0 #C030BA
triadic
#7E30C0 #C07E30 #30C07E
tetradic
#7E30C0 #C03630 #72C030 #30BAC0
square
#7E30C0 #C03630 #72C030 #30BAC0
split-complementary
#7E30C0 #BAC030 #30C036
monochromatic
#3E185E #5E248F #7E30C0 #9C58D5 #B989E1

Accessibility & contrast

On white

6.84
#7E30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7E30C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30C0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30C0#FFFFFF#000000##FFFFFF
##7E30C01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#715476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e30c0;
/* rgb */ color: rgb(126, 48, 192);
/* oklch */ color: oklch(49.6% 0.211 304.2);
Tailwind
colors: {
  custom: {
    50: '#a970d4',
    500: '#7e30c0',
    950: '#000000',
  },
}
SCSS
$custom: #7e30c0;
$custom-light: #a970d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30c0",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 272.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.21093,
    "h": 304.2
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#7E30C0
secondary
#A3CB80
accent
#E3458D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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