#7731AF#7731AF

#7731AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.191 H 305.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7731AF
RGBrgb(119, 49, 175)
HSLhsl(273, 56%, 44%)
HSVhsv(273, 72%, 69%)
CMYKcmyk(32%, 72%, 0%, 31.4%)
CIE-LABlab(36.39, 52.77, -54.63)
CIE-LCHlch(36.39, 75.95, 314.01°)
OKLaboklab(47.51% 0.1112 -0.1552)
OKLCHoklch(47.51% 0.191 305.6)
XYZxyz(16.4422, 9.2138, 41.4614)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731AF #69AF31
analogous
#3831AF #7731AF #AF31A8
triadic
#7731AF #AF7731 #31AF77
tetradic
#7731AF #AF3831 #69AF31 #31A8AF
square
#7731AF #AF3831 #69AF31 #31A8AF
split-complementary
#7731AF #A8AF31 #31AF38
monochromatic
#36164F #56247F #7731AF #964FCE #B27FDB

Accessibility & contrast

On white

7.39
#7731AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7731AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731AF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731AF#FFFFFF#000000##FFFFFF
##7731AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#6D4F6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7731af;
/* rgb */ color: rgb(119, 49, 175);
/* oklch */ color: oklch(47.5% 0.191 305.6);
Tailwind
colors: {
  custom: {
    50: '#a36fc8',
    500: '#7731af',
    950: '#000000',
  },
}
SCSS
$custom: #7731af;
$custom-light: #a36fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7731af",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 273.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.19094,
    "h": 305.6
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#7731AF
secondary
#9AC478
accent
#E0488B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7731AF

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

Preview Lab → · Contrast checker → · Palette generator →

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