#7731B9#7731B9

#7731B9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.201 H 302.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7731B9
RGBrgb(119, 49, 185)
HSLhsl(271, 58%, 46%)
HSVhsv(271, 74%, 73%)
CMYKcmyk(35.7%, 73.5%, 0%, 27.5%)
CIE-LABlab(37.15, 55.12, -59.32)
CIE-LCHlch(37.15, 80.98, 312.90°)
OKLaboklab(48.29% 0.1093 -0.169)
OKLCHoklch(48.29% 0.201 302.9)
XYZxyz(17.4610, 9.6213, 46.8267)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731B9 #73B931
analogous
#3331B9 #7731B9 #B931B7
triadic
#7731B9 #B97731 #31B977
tetradic
#7731B9 #B93331 #73B931 #31B7B9
square
#7731B9 #B93331 #73B931 #31B7B9
split-complementary
#7731B9 #B7B931 #31B933
monochromatic
#391758 #582489 #7731B9 #9555D2 #B486DF

Accessibility & contrast

On white

7.18
#7731B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7731B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731B9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731B9#FFFFFF#000000##FFFFFF
##7731B91.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#695372
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7731b9;
/* rgb */ color: rgb(119, 49, 185);
/* oklch */ color: oklch(48.3% 0.201 302.9);
Tailwind
colors: {
  custom: {
    50: '#a470cf',
    500: '#7731b9',
    950: '#000000',
  },
}
SCSS
$custom: #7731b9;
$custom-light: #a470cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7731b9",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 270.882,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.2013,
    "h": 302.9
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#7731B9
secondary
#A2C87D
accent
#E14692
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7731B9

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

Preview Lab → · Contrast checker → · Palette generator →

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