#7A30BD#7A30BD

#7A30BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.207 H 303.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7A30BD
RGBrgb(122, 48, 189)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 75%, 74%)
CMYKcmyk(35.4%, 74.6%, 0%, 25.9%)
CIE-LABlab(37.71, 57.04, -60.76)
CIE-LCHlch(37.71, 83.33, 313.19°)
OKLaboklab(48.86% 0.1136 -0.1731)
OKLCHoklch(48.86% 0.207 303.3)
XYZxyz(18.2661, 9.9256, 49.0878)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30BD #73BD30
analogous
#3330BD #7A30BD #BD30BA
triadic
#7A30BD #BD7A30 #30BD7A
tetradic
#7A30BD #BD3330 #73BD30 #30BABD
square
#7A30BD #BD3330 #73BD30 #30BABD
split-complementary
#7A30BD #BABD30 #30BD33
monochromatic
#3B175B #5A248C #7A30BD #9856D4 #B687E0

Accessibility & contrast

On white

7.03
#7A30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7A30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A30BD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30BD#FFFFFF#000000##FFFFFF
##7A30BD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6C5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a30bd;
/* rgb */ color: rgb(122, 48, 189);
/* oklch */ color: oklch(48.9% 0.207 303.3);
Tailwind
colors: {
  custom: {
    50: '#a670d2',
    500: '#7a30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a30bd;
$custom-light: #a670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30bd",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 271.489,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.20709,
    "h": 303.3
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#7A30BD
secondary
#A3CA7F
accent
#E34590
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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