#7731C0#7731C0

#7731C0 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.209 H 301.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7731C0
RGBrgb(119, 49, 192)
HSLhsl(269, 59%, 47%)
HSVhsv(269, 74%, 75%)
CMYKcmyk(38%, 74.5%, 0%, 24.7%)
CIE-LABlab(37.71, 56.80, -62.54)
CIE-LCHlch(37.71, 84.48, 312.25°)
OKLaboklab(48.85% 0.1078 -0.1785)
OKLCHoklch(48.85% 0.209 301.1)
XYZxyz(18.2182, 9.9242, 50.8147)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731C0 #7AC031
analogous
#3132C0 #7731C0 #BF31C0
triadic
#7731C0 #C07731 #31C077
tetradic
#7731C0 #C03132 #7AC031 #31C0BF
square
#7731C0 #C03132 #7AC031 #31C0BF
split-complementary
#7731C0 #C0BF31 #32C031
monochromatic
#3B185E #59258F #7731C0 #9659D5 #B58AE1

Accessibility & contrast

On white

7.04
#7731C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7731C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731C0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731C0#FFFFFF#000000##FFFFFF
##7731C01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#675576
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7731c0;
/* rgb */ color: rgb(119, 49, 192);
/* oklch */ color: oklch(48.9% 0.209 301.1);
Tailwind
colors: {
  custom: {
    50: '#a570d4',
    500: '#7731c0',
    950: '#000000',
  },
}
SCSS
$custom: #7731c0;
$custom-light: #a570d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7731c0",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 269.371,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.20852,
    "h": 301.1
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#7731C0
secondary
#A7CB82
accent
#E34596
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7731C0

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

Preview Lab → · Contrast checker → · Palette generator →

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