#7731BD#7731BD

#7731BD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.205 H 301.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7731BD
RGBrgb(119, 49, 189)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 74%)
CMYKcmyk(37%, 74.1%, 0%, 25.9%)
CIE-LABlab(37.47, 56.08, -61.16)
CIE-LCHlch(37.47, 82.98, 312.52°)
OKLaboklab(48.61% 0.1085 -0.1745)
OKLCHoklch(48.61% 0.205 301.9)
XYZxyz(17.8892, 9.7926, 49.0819)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731BD #77BD31
analogous
#3131BD #7731BD #BD31BD
triadic
#7731BD #BD7731 #31BD77
tetradic
#7731BD #BD3131 #77BD31 #31BDBD
square
#7731BD #BD3131 #77BD31 #31BDBD
split-complementary
#7731BD #BDBD31 #31BD31
monochromatic
#3A185C #58248C #7731BD #9658D4 #B488E0

Accessibility & contrast

On white

7.10
#7731BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7731BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731BD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731BD#FFFFFF#000000##FFFFFF
##7731BD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#685475
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7731bd;
/* rgb */ color: rgb(119, 49, 189);
/* oklch */ color: oklch(48.6% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#a470d2',
    500: '#7731bd',
    950: '#000000',
  },
}
SCSS
$custom: #7731bd;
$custom-light: #a470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7731bd",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.20543,
    "h": 301.9
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#7731BD
secondary
#A5CA80
accent
#E24694
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7731BD

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

Preview Lab → · Contrast checker → · Palette generator →

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