#7427A2#7427A2

#7427A2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.189 H 309.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7427A2
RGBrgb(116, 39, 162)
HSLhsl(278, 61%, 39%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(28.4%, 75.9%, 0%, 36.5%)
CIE-LABlab(33.51, 53.46, -51.54)
CIE-LCHlch(33.51, 74.26, 316.05°)
OKLaboklab(45.08% 0.1191 -0.1462)
OKLCHoklch(45.08% 0.189 309.2)
XYZxyz(14.4482, 7.7729, 34.9146)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427A2 #55A227
analogous
#3727A2 #7427A2 #A22793
triadic
#7427A2 #A27427 #27A274
tetradic
#7427A2 #A23727 #55A227 #2793A2
square
#7427A2 #A23727 #55A227 #2793A2
split-complementary
#7427A2 #93A227 #27A237
monochromatic
#2D0F3F #511B71 #7427A2 #9637CF #B069DB

Accessibility & contrast

On white

8.22
#7427A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7427A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427A2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427A2#FFFFFF#000000##FFFFFF
##7427A21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#6D4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7427a2;
/* rgb */ color: rgb(116, 39, 162);
/* oklch */ color: oklch(45.1% 0.189 309.2);
Tailwind
colors: {
  custom: {
    50: '#a169be',
    500: '#7427a2',
    950: '#000000',
  },
}
SCSS
$custom: #7427a2;
$custom-light: #a169be;
$custom-dark: #000000;
JSON
{
  "hex": "#7427a2",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 277.561,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.18858,
    "h": 309.2
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#7427A2
secondary
#87C164
accent
#E44380
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7427A2

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

Preview Lab → · Contrast checker → · Palette generator →

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