#7A30C1#7A30C1

#7A30C1 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.211 H 302.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7A30C1
RGBrgb(122, 48, 193)
HSLhsl(271, 60%, 47%)
HSVhsv(271, 75%, 76%)
CMYKcmyk(36.8%, 75.1%, 0%, 24.3%)
CIE-LABlab(38.02, 57.98, -62.59)
CIE-LCHlch(38.02, 85.31, 312.81°)
OKLaboklab(49.19% 0.1127 -0.1785)
OKLCHoklch(49.19% 0.211 302.3)
XYZxyz(18.7063, 10.1017, 51.4060)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30C1 #77C130
analogous
#3230C1 #7A30C1 #C130BF
triadic
#7A30C1 #C17A30 #30C17A
tetradic
#7A30C1 #C13230 #77C130 #30BFC1
square
#7A30C1 #C13230 #77C130 #30BFC1
split-complementary
#7A30C1 #BFC130 #30C132
monochromatic
#3C185F #5B2490 #7A30C1 #9859D6 #B78AE2

Accessibility & contrast

On white

6.95
#7A30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A30C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A30C1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30C1#FFFFFF#000000##FFFFFF
##7A30C11.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6B5577
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a30c1;
/* rgb */ color: rgb(122, 48, 193);
/* oklch */ color: oklch(49.2% 0.211 302.3);
Tailwind
colors: {
  custom: {
    50: '#a770d5',
    500: '#7a30c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a30c1;
$custom-light: #a770d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30c1",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 270.621,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.21114,
    "h": 302.3
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#7A30C1
secondary
#A6CC81
accent
#E34492
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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