#7431A2#7431A2

#7431A2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.177 H 308.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7431A2
RGBrgb(116, 49, 162)
HSLhsl(276, 54%, 41%)
HSVhsv(276, 70%, 64%)
CMYKcmyk(28.4%, 69.8%, 0%, 36.5%)
CIE-LABlab(35.04, 49.12, -49.05)
CIE-LCHlch(35.04, 69.42, 315.04°)
OKLaboklab(46.17% 0.1089 -0.139)
OKLCHoklch(46.17% 0.177 308.1)
XYZxyz(14.8210, 8.5185, 35.0389)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431A2 #5FA231
analogous
#3B31A2 #7431A2 #A23198
triadic
#7431A2 #A27431 #31A274
tetradic
#7431A2 #A23B31 #5FA231 #3198A2
square
#7431A2 #A23B31 #5FA231 #3198A2
split-complementary
#7431A2 #98A231 #31A23B
monochromatic
#311544 #522373 #7431A2 #9448C8 #AF77D6

Accessibility & contrast

On white

7.77
#7431A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7431A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431A2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431A2#FFFFFF#000000##FFFFFF
##7431A21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#6D4A66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7431a2;
/* rgb */ color: rgb(116, 49, 162);
/* oklch */ color: oklch(46.2% 0.177 308.1);
Tailwind
colors: {
  custom: {
    50: '#a06fbe',
    500: '#7431a2',
    950: '#000000',
  },
}
SCSS
$custom: #7431a2;
$custom-light: #a06fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7431a2",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 275.575,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.17656,
    "h": 308.1
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#7431A2
secondary
#90BE71
accent
#DD4B86
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7431A2

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

Preview Lab → · Contrast checker → · Palette generator →

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