#7A30BC#7A30BC

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

Color values

HEX#7A30BC
RGBrgb(122, 48, 188)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 74%)
CMYKcmyk(35.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(37.63, 56.80, -60.29)
CIE-LCHlch(37.63, 82.84, 313.29°)
OKLaboklab(48.79% 0.1138 -0.1718)
OKLCHoklch(48.79% 0.206 303.5)
XYZxyz(18.1580, 9.8823, 48.5181)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30BC #72BC30
analogous
#3430BC #7A30BC #BC30B8
triadic
#7A30BC #BC7A30 #30BC7A
tetradic
#7A30BC #BC3430 #72BC30 #30B8BC
square
#7A30BC #BC3430 #72BC30 #30B8BC
split-complementary
#7A30BC #B8BC30 #30BC34
monochromatic
#3B175A #5A248B #7A30BC #9855D4 #B686E0

Accessibility & contrast

On white

7.06
#7A30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7A30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30BC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30BC#FFFFFF#000000##FFFFFF
##7A30BC1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6D5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a30bc;
/* rgb */ color: rgb(122, 48, 188);
/* oklch */ color: oklch(48.8% 0.206 303.5);
Tailwind
colors: {
  custom: {
    50: '#a670d1',
    500: '#7a30bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a30bc;
$custom-light: #a670d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30bc",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 271.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.20608,
    "h": 303.5
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#7A30BC
secondary
#A2CA7E
accent
#E3458F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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