#7731BB#7731BB

#7731BB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.203 H 302.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7731BB
RGBrgb(119, 49, 187)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(36.4%, 73.8%, 0%, 26.7%)
CIE-LABlab(37.31, 55.60, -60.24)
CIE-LCHlch(37.31, 81.98, 312.70°)
OKLaboklab(48.45% 0.1089 -0.1718)
OKLCHoklch(48.45% 0.203 302.4)
XYZxyz(17.6736, 9.7064, 47.9465)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731BB #75BB31
analogous
#3231BB #7731BB #BB31BA
triadic
#7731BB #BB7731 #31BB77
tetradic
#7731BB #BB3231 #75BB31 #31BABB
square
#7731BB #BB3231 #75BB31 #31BABB
split-complementary
#7731BB #BABB31 #31BB32
monochromatic
#39185A #58248B #7731BB #9656D3 #B487E0

Accessibility & contrast

On white

7.14
#7731BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7731BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731BB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731BB#FFFFFF#000000##FFFFFF
##7731BB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#695374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7731bb;
/* rgb */ color: rgb(119, 49, 187);
/* oklch */ color: oklch(48.5% 0.203 302.4);
Tailwind
colors: {
  custom: {
    50: '#a470d0',
    500: '#7731bb',
    950: '#000000',
  },
}
SCSS
$custom: #7731bb;
$custom-light: #a470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7731bb",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 270.435,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.20336,
    "h": 302.4
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#7731BB
secondary
#A3C97F
accent
#E24693
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7731BB

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

Preview Lab → · Contrast checker → · Palette generator →

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