#7431B3#7431B3

#7431B3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.194 H 303.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7431B3
RGBrgb(116, 49, 179)
HSLhsl(271, 57%, 45%)
HSVhsv(271, 73%, 70%)
CMYKcmyk(35.2%, 72.6%, 0%, 29.8%)
CIE-LABlab(36.30, 53.13, -57.18)
CIE-LCHlch(36.30, 78.06, 312.90°)
OKLaboklab(47.46% 0.1063 -0.1628)
OKLCHoklch(47.46% 0.194 303.1)
XYZxyz(16.4355, 9.1643, 43.5421)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431B3 #70B331
analogous
#3331B3 #7431B3 #B331B1
triadic
#7431B3 #B37431 #31B374
tetradic
#7431B3 #B33331 #70B331 #31B1B3
square
#7431B3 #B33331 #70B331 #31B1B3
split-complementary
#7431B3 #B1B331 #31B333
monochromatic
#361753 #552483 #7431B3 #9352D0 #B182DD

Accessibility & contrast

On white

7.41
#7431B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7431B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431B3
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431B3#FFFFFF#000000##FFFFFF
##7431B31.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#67516F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7431b3;
/* rgb */ color: rgb(116, 49, 179);
/* oklch */ color: oklch(47.5% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#a16fcb',
    500: '#7431b3',
    950: '#000000',
  },
}
SCSS
$custom: #7431b3;
$custom-light: #a16fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7431b3",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 270.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47457,
    "c": 0.19445,
    "h": 303.1
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#7431B3
secondary
#9FC67A
accent
#E04892
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7431B3

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

Preview Lab → · Contrast checker → · Palette generator →

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