#7431AC#7431AC

#7431AC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.187 H 305.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7431AC
RGBrgb(116, 49, 172)
HSLhsl(273, 56%, 43%)
HSVhsv(273, 72%, 67%)
CMYKcmyk(32.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(35.77, 51.47, -53.87)
CIE-LCHlch(35.77, 74.51, 313.69°)
OKLaboklab(46.91% 0.1075 -0.1531)
OKLCHoklch(46.91% 0.187 305.1)
XYZxyz(15.7455, 8.8883, 39.9078)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431AC #69AC31
analogous
#3631AC #7431AC #AC31A6
triadic
#7431AC #AC7431 #31AC74
tetradic
#7431AC #AC3631 #69AC31 #31A6AC
square
#7431AC #AC3631 #69AC31 #31A6AC
split-complementary
#7431AC #A6AC31 #31AC36
monochromatic
#34164D #54237C #7431AC #934ECC #B07DDA

Accessibility & contrast

On white

7.56
#7431AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7431AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431AC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431AC#FFFFFF#000000##FFFFFF
##7431AC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6A4E6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7431ac;
/* rgb */ color: rgb(116, 49, 172);
/* oklch */ color: oklch(46.9% 0.187 305.1);
Tailwind
colors: {
  custom: {
    50: '#a16fc6',
    500: '#7431ac',
    950: '#000000',
  },
}
SCSS
$custom: #7431ac;
$custom-light: #a16fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7431ac",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 272.683,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.18708,
    "h": 305.1
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#7431AC
secondary
#99C376
accent
#DF498D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7431AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7431AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva