#7427AC#7427AC

#7427AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.198 H 306.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7427AC
RGBrgb(116, 39, 172)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32.6%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.28, 55.70, -56.29)
CIE-LCHlch(34.28, 79.20, 314.70°)
OKLaboklab(45.86% 0.117 -0.1602)
OKLCHoklch(45.86% 0.198 306.1)
XYZxyz(15.3727, 8.1427, 39.7836)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427AC #5FAC27
analogous
#3227AC #7427AC #AC27A2
triadic
#7427AC #AC7427 #27AC74
tetradic
#7427AC #AC3227 #5FAC27 #27A2AC
square
#7427AC #AC3227 #5FAC27 #27A2AC
split-complementary
#7427AC #A2AC27 #27AC32
monochromatic
#311048 #521C7A #7427AC #943DD3 #AF6FDE

Accessibility & contrast

On white

7.99
#7427AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7427AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427AC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427AC#FFFFFF#000000##FFFFFF
##7427AC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6A4969
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7427ac;
/* rgb */ color: rgb(116, 39, 172);
/* oklch */ color: oklch(45.9% 0.198 306.1);
Tailwind
colors: {
  custom: {
    50: '#a16ac6',
    500: '#7427ac',
    950: '#000000',
  },
}
SCSS
$custom: #7427ac;
$custom-light: #a16ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7427ac",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 274.737,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.19836,
    "h": 306.1
  },
  "luminance": 0.08143
}

Semantic roles & 50–950 ramp

primary
#7427AC
secondary
#90C56A
accent
#E64287
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7427AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7427AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva