#7731C1#7731C1

#7731C1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.210 H 300.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7731C1
RGBrgb(119, 49, 193)
HSLhsl(269, 60%, 47%)
HSVhsv(269, 75%, 76%)
CMYKcmyk(38.3%, 74.6%, 0%, 24.3%)
CIE-LABlab(37.79, 57.04, -62.99)
CIE-LCHlch(37.79, 84.98, 312.16°)
OKLaboklab(48.94% 0.1076 -0.1798)
OKLCHoklch(48.94% 0.21 300.9)
XYZxyz(18.3293, 9.9687, 51.4002)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731C1 #7BC131
analogous
#3133C1 #7731C1 #BF31C1
triadic
#7731C1 #C17731 #31C177
tetradic
#7731C1 #C13133 #7BC131 #31C1BF
square
#7731C1 #C13133 #7BC131 #31C1BF
split-complementary
#7731C1 #C1BF31 #33C131
monochromatic
#3B185F #592590 #7731C1 #965AD5 #B58BE2

Accessibility & contrast

On white

7.01
#7731C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7731C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731C1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731C1#FFFFFF#000000##FFFFFF
##7731C11.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#665677
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7731c1;
/* rgb */ color: rgb(119, 49, 193);
/* oklch */ color: oklch(48.9% 0.210 300.9);
Tailwind
colors: {
  custom: {
    50: '#a570d5',
    500: '#7731c1',
    950: '#000000',
  },
}
SCSS
$custom: #7731c1;
$custom-light: #a570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7731c1",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 269.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.20955,
    "h": 300.9
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7731C1

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

Preview Lab → · Contrast checker → · Palette generator →

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