#7431BA#7431BA

#7431BA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.202 H 301.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7431BA
RGBrgb(116, 49, 186)
HSLhsl(269, 58%, 46%)
HSVhsv(269, 74%, 73%)
CMYKcmyk(37.6%, 73.7%, 0%, 27.1%)
CIE-LABlab(36.85, 54.82, -60.43)
CIE-LCHlch(36.85, 81.59, 312.21°)
OKLaboklab(48.01% 0.1049 -0.1724)
OKLCHoklch(48.01% 0.202 301.3)
XYZxyz(17.1615, 9.4547, 47.3657)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431BA #77BA31
analogous
#3132BA #7431BA #B831BA
triadic
#7431BA #BA7431 #31BA74
tetradic
#7431BA #BA3132 #77BA31 #31BAB8
square
#7431BA #BA3132 #77BA31 #31BAB8
split-complementary
#7431BA #BAB831 #32BA31
monochromatic
#381759 #56248A #7431BA #9356D2 #B286DF

Accessibility & contrast

On white

7.26
#7431BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7431BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431BA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431BA#FFFFFF#000000##FFFFFF
##7431BA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#655373
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7431ba;
/* rgb */ color: rgb(116, 49, 186);
/* oklch */ color: oklch(48.0% 0.202 301.3);
Tailwind
colors: {
  custom: {
    50: '#a270d0',
    500: '#7431ba',
    950: '#000000',
  },
}
SCSS
$custom: #7431ba;
$custom-light: #a270d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7431ba",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 269.343,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.20178,
    "h": 301.3
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#7431BA
secondary
#A4C97E
accent
#E24696
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7431BA

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

Preview Lab → · Contrast checker → · Palette generator →

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