#7A30C7#7A30C7

#7A30C7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.217 H 300.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7A30C7
RGBrgb(122, 48, 199)
HSLhsl(269, 61%, 48%)
HSVhsv(269, 76%, 78%)
CMYKcmyk(38.7%, 75.9%, 0%, 22%)
CIE-LABlab(38.51, 59.39, -65.31)
CIE-LCHlch(38.51, 88.27, 312.29°)
OKLaboklab(49.68% 0.1113 -0.1865)
OKLCHoklch(49.68% 0.217 300.8)
XYZxyz(19.3893, 10.3749, 55.0028)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30C7 #7DC730
analogous
#3031C7 #7A30C7 #C530C7
triadic
#7A30C7 #C77A30 #30C77A
tetradic
#7A30C7 #C73031 #7DC730 #30C7C5
square
#7A30C7 #C73031 #7DC730 #30C7C5
split-complementary
#7A30C7 #C7C530 #31C730
monochromatic
#3E1864 #5C2496 #7A30C7 #995CD8 #B88EE4

Accessibility & contrast

On white

6.83
#7A30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A30C7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30C7#FFFFFF#000000##FFFFFF
##7A30C71.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#69587A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a30c7;
/* rgb */ color: rgb(122, 48, 199);
/* oklch */ color: oklch(49.7% 0.217 300.8);
Tailwind
colors: {
  custom: {
    50: '#a770d9',
    500: '#7a30c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a30c7;
$custom-light: #a770d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30c7",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 269.404,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.2172,
    "h": 300.8
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#7A30C7
secondary
#AACE85
accent
#E44495
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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