#7427B8#7427B8

#7427B8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.210 H 302.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7427B8
RGBrgb(116, 39, 184)
HSLhsl(272, 65%, 44%)
HSVhsv(272, 79%, 72%)
CMYKcmyk(37%, 78.8%, 0%, 27.8%)
CIE-LABlab(35.25, 58.45, -61.85)
CIE-LCHlch(35.25, 85.10, 313.38°)
OKLaboklab(46.85% 0.114 -0.1765)
OKLCHoklch(46.85% 0.21 302.9)
XYZxyz(16.5776, 8.6247, 46.1295)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427B8 #6BB827
analogous
#2B27B8 #7427B8 #B827B3
triadic
#7427B8 #B87427 #27B874
tetradic
#7427B8 #B82B27 #6BB827 #27B3B8
square
#7427B8 #B82B27 #6BB827 #27B3B8
split-complementary
#7427B8 #B3B827 #27B82B
monochromatic
#341253 #541C86 #7427B8 #9345D8 #B077E2

Accessibility & contrast

On white

7.71
#7427B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7427B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427B8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427B8#FFFFFF#000000##FFFFFF
##7427B81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#664E70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7427b8;
/* rgb */ color: rgb(116, 39, 184);
/* oklch */ color: oklch(46.8% 0.210 302.9);
Tailwind
colors: {
  custom: {
    50: '#a26bce',
    500: '#7427b8',
    950: '#000000',
  },
}
SCSS
$custom: #7427b8;
$custom-light: #a26bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7427b8",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 271.862,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.2101,
    "h": 302.9
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#7427B8
secondary
#9BCA71
accent
#E8408F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7427B8

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

Preview Lab → · Contrast checker → · Palette generator →

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