#7431B8#7431B8

#7431B8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.200 H 301.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7431B8
RGBrgb(116, 49, 184)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 73%, 72%)
CMYKcmyk(37%, 73.4%, 0%, 27.8%)
CIE-LABlab(36.69, 54.34, -59.51)
CIE-LCHlch(36.69, 80.58, 312.40°)
OKLaboklab(47.85% 0.1053 -0.1697)
OKLCHoklch(47.85% 0.2 301.8)
XYZxyz(16.9504, 9.3702, 46.2537)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431B8 #75B831
analogous
#3131B8 #7431B8 #B731B8
triadic
#7431B8 #B87431 #31B874
tetradic
#7431B8 #B83131 #75B831 #31B8B7
square
#7431B8 #B83131 #75B831 #31B8B7
split-complementary
#7431B8 #B8B731 #31B831
monochromatic
#371757 #562488 #7431B8 #9355D2 #B185DE

Accessibility & contrast

On white

7.31
#7431B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7431B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431B8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431B8#FFFFFF#000000##FFFFFF
##7431B81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#655372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7431b8;
/* rgb */ color: rgb(116, 49, 184);
/* oklch */ color: oklch(47.9% 0.200 301.8);
Tailwind
colors: {
  custom: {
    50: '#a26fce',
    500: '#7431b8',
    950: '#000000',
  },
}
SCSS
$custom: #7431b8;
$custom-light: #a26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7431b8",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 269.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.19969,
    "h": 301.8
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#7431B8
secondary
#A3C87D
accent
#E14794
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7431B8

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

Preview Lab → · Contrast checker → · Palette generator →

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