#7427BD#7427BD

#7427BD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.215 H 301.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7427BD
RGBrgb(116, 39, 189)
HSLhsl(271, 66%, 45%)
HSVhsv(271, 79%, 74%)
CMYKcmyk(38.6%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.67, 59.61, -64.11)
CIE-LCHlch(35.67, 87.54, 312.91°)
OKLaboklab(47.27% 0.1126 -0.1831)
OKLCHoklch(47.27% 0.215 301.6)
XYZxyz(17.1110, 8.8381, 48.9387)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7427BD #70BD27
analogous
#2927BD #7427BD #BD27BB
triadic
#7427BD #BD7427 #27BD74
tetradic
#7427BD #BD2927 #70BD27 #27BBBD
square
#7427BD #BD2927 #70BD27 #27BBBD
split-complementary
#7427BD #BBBD27 #27BD29
monochromatic
#361258 #551D8A #7427BD #9348D9 #B17BE4

Accessibility & contrast

On white

7.59
#7427BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7427BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7427BD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7427BD#FFFFFF#000000##FFFFFF
##7427BD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#645072
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7427bd;
/* rgb */ color: rgb(116, 39, 189);
/* oklch */ color: oklch(47.3% 0.215 301.6);
Tailwind
colors: {
  custom: {
    50: '#a36bd2',
    500: '#7427bd',
    950: '#000000',
  },
}
SCSS
$custom: #7427bd;
$custom-light: #a36bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7427bd",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 270.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.21499,
    "h": 301.6
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#7427BD
secondary
#9FCC74
accent
#E93F92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7427BD

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

Preview Lab → · Contrast checker → · Palette generator →

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