#7431AB#7431AB

#7431AB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.186 H 305.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7431AB
RGBrgb(116, 49, 171)
HSLhsl(273, 55%, 43%)
HSVhsv(273, 71%, 67%)
CMYKcmyk(32.2%, 71.3%, 0%, 32.9%)
CIE-LABlab(35.69, 51.23, -53.40)
CIE-LCHlch(35.69, 74.00, 313.81°)
OKLaboklab(46.84% 0.1076 -0.1517)
OKLCHoklch(46.84% 0.186 305.4)
XYZxyz(15.6498, 8.8500, 39.4039)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431AB #68AB31
analogous
#3731AB #7431AB #AB31A5
triadic
#7431AB #AB7431 #31AB74
tetradic
#7431AB #AB3731 #68AB31 #31A5AB
square
#7431AB #AB3731 #68AB31 #31A5AB
split-complementary
#7431AB #A5AB31 #31AB37
monochromatic
#33164C #54237B #7431AB #934DCC #B07DDA

Accessibility & contrast

On white

7.58
#7431AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7431AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431AB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431AB#FFFFFF#000000##FFFFFF
##7431AB1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6A4D6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7431ab;
/* rgb */ color: rgb(116, 49, 171);
/* oklch */ color: oklch(46.8% 0.186 305.4);
Tailwind
colors: {
  custom: {
    50: '#a16fc5',
    500: '#7431ab',
    950: '#000000',
  },
}
SCSS
$custom: #7431ab;
$custom-light: #a16fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7431ab",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 272.951,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.18603,
    "h": 305.4
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#7431AB
secondary
#98C275
accent
#DF498D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7431AB

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

Preview Lab → · Contrast checker → · Palette generator →

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