#7431EA#7431EA

#7431EA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.2% C 0.251 H 291.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7431EA
RGBrgb(116, 49, 234)
HSLhsl(262, 81%, 55%)
HSVhsv(262, 79%, 92%)
CMYKcmyk(50.4%, 79.1%, 0%, 8.2%)
CIE-LABlab(40.98, 66.66, -81.40)
CIE-LCHlch(40.98, 105.21, 309.31°)
OKLaboklab(52.17% 0.0919 -0.2339)
OKLCHoklch(52.17% 0.251 291.4)
XYZxyz(23.1478, 11.8492, 78.8934)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431EA #A7EA31
analogous
#314AEA #7431EA #D131EA
triadic
#7431EA #EA7431 #31EA74
tetradic
#7431EA #EA314A #A7EA31 #31EAD1
square
#7431EA #EA314A #A7EA31 #31EAD1
split-complementary
#7431EA #EAD131 #4AEA31
monochromatic
#3E0F92 #5615C9 #7431EA #9969F0 #BFA0F5

Accessibility & contrast

On white

6.23
#7431EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7431EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7431EA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431EA#FFFFFF#000000##FFFFFF
##7431EA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063EF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#4B678E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7431ea;
/* rgb */ color: rgb(116, 49, 234);
/* oklch */ color: oklch(52.2% 0.251 291.4);
Tailwind
colors: {
  custom: {
    50: '#a772f2',
    500: '#7431ea',
    950: '#000000',
  },
}
SCSS
$custom: #7431ea;
$custom-light: #a772f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7431ea",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 234
  },
  "hsl": {
    "h": 261.73,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.25132,
    "h": 291.4
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#7431EA
secondary
#C6E295
accent
#F830AF
background
#FBF7FF
surface
#F6EDFE
border
#D0C8D6
text
#110817
muted
#807B85

Preview Lab

Preview with #7431EA

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

Preview Lab → · Contrast checker → · Palette generator →

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