#7427AD#7427AD

#7427AD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 305.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7427AD
RGBrgb(116, 39, 173)
HSLhsl(274, 63%, 42%)
HSVhsv(274, 77%, 68%)
CMYKcmyk(32.9%, 77.5%, 0%, 32.2%)
CIE-LABlab(34.36, 55.93, -56.76)
CIE-LCHlch(34.36, 79.69, 314.58°)
OKLaboklab(45.94% 0.1168 -0.1616)
OKLCHoklch(45.94% 0.199 305.9)
XYZxyz(15.4691, 8.1813, 40.2913)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427AD #60AD27
analogous
#3127AD #7427AD #AD27A3
triadic
#7427AD #AD7427 #27AD74
tetradic
#7427AD #AD3127 #60AD27 #27A3AD
square
#7427AD #AD3127 #60AD27 #27A3AD
split-complementary
#7427AD #A3AD27 #27AD31
monochromatic
#311049 #531C7B #7427AD #943ED3 #AF70DF

Accessibility & contrast

On white

7.97
#7427AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7427AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427AD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427AD#FFFFFF#000000##FFFFFF
##7427AD1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7427ad;
/* rgb */ color: rgb(116, 39, 173);
/* oklch */ color: oklch(45.9% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#a16ac6',
    500: '#7427ad',
    950: '#000000',
  },
}
SCSS
$custom: #7427ad;
$custom-light: #a16ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7427ad",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 274.478,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.19934,
    "h": 305.9
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#7427AD
secondary
#91C66A
accent
#E64288
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7427AD

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

Preview Lab → · Contrast checker → · Palette generator →

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