#7731AC#7731AC

#7731AC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.188 H 306.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7731AC
RGBrgb(119, 49, 172)
HSLhsl(274, 56%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(30.8%, 71.5%, 0%, 32.5%)
CIE-LABlab(36.17, 52.07, -53.20)
CIE-LCHlch(36.17, 74.44, 314.38°)
OKLaboklab(47.29% 0.1116 -0.151)
OKLCHoklch(47.29% 0.188 306.5)
XYZxyz(16.1508, 9.0973, 39.9268)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731AC #66AC31
analogous
#3931AC #7731AC #AC31A3
triadic
#7731AC #AC7731 #31AC77
tetradic
#7731AC #AC3931 #66AC31 #31A3AC
square
#7731AC #AC3931 #66AC31 #31A3AC
split-complementary
#7731AC #A3AC31 #31AC39
monochromatic
#35164D #56237C #7731AC #964ECC #B27DDA

Accessibility & contrast

On white

7.45
#7731AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7731AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731AC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731AC#FFFFFF#000000##FFFFFF
##7731AC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#6E4D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7731ac;
/* rgb */ color: rgb(119, 49, 172);
/* oklch */ color: oklch(47.3% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#a36fc5',
    500: '#7731ac',
    950: '#000000',
  },
}
SCSS
$custom: #7731ac;
$custom-light: #a36fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7731ac",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 274.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.18783,
    "h": 306.5
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#7731AC
secondary
#97C376
accent
#DF498A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7731AC

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

Preview Lab → · Contrast checker → · Palette generator →

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