#7F30AE#7F30AE

#7F30AE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.193 H 309.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7F30AE
RGBrgb(127, 48, 174)
HSLhsl(278, 57%, 44%)
HSVhsv(278, 72%, 68%)
CMYKcmyk(27%, 72.4%, 0%, 31.8%)
CIE-LABlab(37.27, 54.57, -52.57)
CIE-LCHlch(37.27, 75.77, 316.07°)
OKLaboklab(48.34% 0.1233 -0.1489)
OKLCHoklch(48.34% 0.193 309.6)
XYZxyz(17.4478, 9.6823, 40.9859)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30AE #5FAE30
analogous
#4030AE #7F30AE #AE309E
triadic
#7F30AE #AE7F30 #30AE7F
tetradic
#7F30AE #AE4030 #5FAE30 #309EAE
square
#7F30AE #AE4030 #5FAE30 #309EAE
split-complementary
#7F30AE #9EAE30 #30AE40
monochromatic
#39164E #5C237E #7F30AE #9E4DCE #B87DDB

Accessibility & contrast

On white

7.15
#7F30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7F30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F30AE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30AE#FFFFFF#000000##FFFFFF
##7F30AE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1459AB
Tritanopia (blue-blind)
#784D6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f30ae;
/* rgb */ color: rgb(127, 48, 174);
/* oklch */ color: oklch(48.3% 0.193 309.6);
Tailwind
colors: {
  custom: {
    50: '#a870c7',
    500: '#7f30ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f30ae;
$custom-light: #a870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30ae",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 277.619,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.1933,
    "h": 309.6
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#7F30AE
secondary
#93C476
accent
#E04881
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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