#7731AE#7731AE

#7731AE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.190 H 305.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7731AE
RGBrgb(119, 49, 174)
HSLhsl(274, 56%, 44%)
HSVhsv(274, 72%, 68%)
CMYKcmyk(31.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(36.32, 52.53, -54.16)
CIE-LCHlch(36.32, 75.45, 314.13°)
OKLaboklab(47.44% 0.1113 -0.1539)
OKLCHoklch(47.44% 0.19 305.9)
XYZxyz(16.3444, 9.1747, 40.9460)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731AE #68AE31
analogous
#3831AE #7731AE #AE31A6
triadic
#7731AE #AE7731 #31AE77
tetradic
#7731AE #AE3831 #68AE31 #31A6AE
square
#7731AE #AE3831 #68AE31 #31A6AE
split-complementary
#7731AE #A6AE31 #31AE38
monochromatic
#36164E #56247E #7731AE #964FCD #B27FDB

Accessibility & contrast

On white

7.41
#7731AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7731AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731AE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731AE#FFFFFF#000000##FFFFFF
##7731AE1.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)
#0053B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#6D4E6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7731ae;
/* rgb */ color: rgb(119, 49, 174);
/* oklch */ color: oklch(47.4% 0.190 305.9);
Tailwind
colors: {
  custom: {
    50: '#a36fc7',
    500: '#7731ae',
    950: '#000000',
  },
}
SCSS
$custom: #7731ae;
$custom-light: #a36fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7731ae",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 273.6,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.18991,
    "h": 305.9
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#7731AE
secondary
#99C477
accent
#DF488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7731AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7731AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva