#7427A5#7427A5

#7427A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.192 H 308.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7427A5
RGBrgb(116, 39, 165)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 76%, 65%)
CMYKcmyk(29.7%, 76.4%, 0%, 35.3%)
CIE-LABlab(33.73, 54.13, -52.98)
CIE-LCHlch(33.73, 75.74, 315.62°)
OKLaboklab(45.31% 0.1185 -0.1504)
OKLCHoklch(45.31% 0.192 308.2)
XYZxyz(14.7181, 7.8809, 36.3358)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427A5 #58A527
analogous
#3527A5 #7427A5 #A52797
triadic
#7427A5 #A57427 #27A574
tetradic
#7427A5 #A53527 #58A527 #2797A5
square
#7427A5 #A53527 #58A527 #2797A5
split-complementary
#7427A5 #97A527 #27A535
monochromatic
#2E1042 #511B74 #7427A5 #9539D0 #B06ADC

Accessibility & contrast

On white

8.15
#7427A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7427A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427A5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427A5#FFFFFF#000000##FFFFFF
##7427A51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#6C4665
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7427a5;
/* rgb */ color: rgb(116, 39, 165);
/* oklch */ color: oklch(45.3% 0.192 308.2);
Tailwind
colors: {
  custom: {
    50: '#a16ac1',
    500: '#7427a5',
    950: '#000000',
  },
}
SCSS
$custom: #7427a5;
$custom-light: #a16ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7427a5",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 276.667,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.19151,
    "h": 308.2
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#7427A5
secondary
#8AC266
accent
#E54382
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7427A5

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

Preview Lab → · Contrast checker → · Palette generator →

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