#7431B2#7431B2

#7431B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.193 H 303.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7431B2
RGBrgb(116, 49, 178)
HSLhsl(271, 57%, 45%)
HSVhsv(271, 72%, 70%)
CMYKcmyk(34.8%, 72.5%, 0%, 30.2%)
CIE-LABlab(36.22, 52.89, -56.71)
CIE-LCHlch(36.22, 77.55, 313.01°)
OKLaboklab(47.38% 0.1064 -0.1615)
OKLCHoklch(47.38% 0.193 303.4)
XYZxyz(16.3348, 9.1240, 43.0114)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431B2 #6FB231
analogous
#3431B2 #7431B2 #B231B0
triadic
#7431B2 #B27431 #31B274
tetradic
#7431B2 #B23431 #6FB231 #31B0B2
square
#7431B2 #B23431 #6FB231 #31B0B2
split-complementary
#7431B2 #B0B231 #31B234
monochromatic
#351752 #552482 #7431B2 #9351CF #B081DC

Accessibility & contrast

On white

7.43
#7431B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7431B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7431B2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431B2#FFFFFF#000000##FFFFFF
##7431B21.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#68506E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7431b2;
/* rgb */ color: rgb(116, 49, 178);
/* oklch */ color: oklch(47.4% 0.193 303.4);
Tailwind
colors: {
  custom: {
    50: '#a16fca',
    500: '#7431b2',
    950: '#000000',
  },
}
SCSS
$custom: #7431b2;
$custom-light: #a16fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7431b2",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 271.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.1934,
    "h": 303.4
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#7431B2
secondary
#9EC579
accent
#E04891
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7431B2

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

Preview Lab → · Contrast checker → · Palette generator →

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