#7A30BF#7A30BF

#7A30BF is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.209 H 302.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7A30BF
RGBrgb(122, 48, 191)
HSLhsl(271, 60%, 47%)
HSVhsv(271, 75%, 75%)
CMYKcmyk(36.1%, 74.9%, 0%, 25.1%)
CIE-LABlab(37.87, 57.51, -61.67)
CIE-LCHlch(37.87, 84.32, 313.00°)
OKLaboklab(49.03% 0.1132 -0.1758)
OKLCHoklch(49.03% 0.209 302.8)
XYZxyz(18.4847, 10.0130, 50.2390)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30BF #75BF30
analogous
#3230BF #7A30BF #BF30BD
triadic
#7A30BF #BF7A30 #30BF7A
tetradic
#7A30BF #BF3230 #75BF30 #30BDBF
square
#7A30BF #BF3230 #75BF30 #30BDBF
split-complementary
#7A30BF #BDBF30 #30BF32
monochromatic
#3C175D #5B248E #7A30BF #9857D5 #B688E1

Accessibility & contrast

On white

6.99
#7A30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7A30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A30BF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30BF#FFFFFF#000000##FFFFFF
##7A30BF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#6C5476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a30bf;
/* rgb */ color: rgb(122, 48, 191);
/* oklch */ color: oklch(49.0% 0.209 302.8);
Tailwind
colors: {
  custom: {
    50: '#a670d3',
    500: '#7a30bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a30bf;
$custom-light: #a670d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30bf",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 271.049,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.20911,
    "h": 302.8
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#7A30BF
secondary
#A4CB80
accent
#E34591
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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