#7431B7#7431B7

#7431B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.199 H 302.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7431B7
RGBrgb(116, 49, 183)
HSLhsl(270, 58%, 45%)
HSVhsv(270, 73%, 72%)
CMYKcmyk(36.6%, 73.2%, 0%, 28.2%)
CIE-LABlab(36.61, 54.10, -59.04)
CIE-LCHlch(36.61, 80.08, 312.50°)
OKLaboklab(47.77% 0.1055 -0.1683)
OKLCHoklch(47.77% 0.199 302.1)
XYZxyz(16.8460, 9.3285, 45.7036)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431B7 #74B731
analogous
#3131B7 #7431B7 #B731B7
triadic
#7431B7 #B77431 #31B774
tetradic
#7431B7 #B73131 #74B731 #31B7B7
square
#7431B7 #B73131 #74B731 #31B7B7
split-complementary
#7431B7 #B7B731 #31B731
monochromatic
#371756 #552487 #7431B7 #9354D1 #B184DE

Accessibility & contrast

On white

7.33
#7431B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7431B7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431B7#FFFFFF#000000##FFFFFF
##7431B71.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#665271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7431b7;
/* rgb */ color: rgb(116, 49, 183);
/* oklch */ color: oklch(47.8% 0.199 302.1);
Tailwind
colors: {
  custom: {
    50: '#a26fce',
    500: '#7431b7',
    950: '#000000',
  },
}
SCSS
$custom: #7431b7;
$custom-light: #a26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7431b7",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.19864,
    "h": 302.1
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7431B7

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

Preview Lab → · Contrast checker → · Palette generator →

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