#7427AB#7427AB

#7427AB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.197 H 306.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7427AB
RGBrgb(116, 39, 171)
HSLhsl(275, 63%, 41%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(32.2%, 77.2%, 0%, 32.9%)
CIE-LABlab(34.20, 55.48, -55.82)
CIE-LCHlch(34.20, 78.70, 314.82°)
OKLaboklab(45.78% 0.1172 -0.1588)
OKLCHoklch(45.78% 0.197 306.4)
XYZxyz(15.2771, 8.1045, 39.2797)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427AB #5EAB27
analogous
#3227AB #7427AB #AB27A0
triadic
#7427AB #AB7427 #27AB74
tetradic
#7427AB #AB3227 #5EAB27 #27A0AB
square
#7427AB #AB3227 #5EAB27 #27A0AB
split-complementary
#7427AB #A0AB27 #27AB32
monochromatic
#301047 #521C79 #7427AB #943DD3 #B06EDE

Accessibility & contrast

On white

8.01
#7427AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7427AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427AB#FFFFFF#000000##FFFFFF
##7427AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#6A4868
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7427ab;
/* rgb */ color: rgb(116, 39, 171);
/* oklch */ color: oklch(45.8% 0.197 306.4);
Tailwind
colors: {
  custom: {
    50: '#a16ac5',
    500: '#7427ab',
    950: '#000000',
  },
}
SCSS
$custom: #7427ab;
$custom-light: #a16ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7427ab",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 275,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.19738,
    "h": 306.4
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#7427AB
secondary
#8FC569
accent
#E64286
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7427AB

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

Preview Lab → · Contrast checker → · Palette generator →

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