#7731C4#7731C4

#7731C4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.213 H 300.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7731C4
RGBrgb(119, 49, 196)
HSLhsl(269, 60%, 48%)
HSVhsv(269, 75%, 77%)
CMYKcmyk(39.3%, 75%, 0%, 23.1%)
CIE-LABlab(38.03, 57.76, -64.35)
CIE-LCHlch(38.03, 86.47, 311.91°)
OKLaboklab(49.18% 0.1069 -0.1838)
OKLCHoklch(49.18% 0.213 300.2)
XYZxyz(18.6674, 10.1039, 53.1806)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731C4 #7EC431
analogous
#3135C4 #7731C4 #C031C4
triadic
#7731C4 #C47731 #31C477
tetradic
#7731C4 #C43135 #7EC431 #31C4C0
square
#7731C4 #C43135 #7EC431 #31C4C0
split-complementary
#7731C4 #C4C031 #35C431
monochromatic
#3C1962 #592593 #7731C4 #965CD6 #B68DE2

Accessibility & contrast

On white

6.95
#7731C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7731C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7731C4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731C4#FFFFFF#000000##FFFFFF
##7731C41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#655779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7731c4;
/* rgb */ color: rgb(119, 49, 196);
/* oklch */ color: oklch(49.2% 0.213 300.2);
Tailwind
colors: {
  custom: {
    50: '#a570d7',
    500: '#7731c4',
    950: '#000000',
  },
}
SCSS
$custom: #7731c4;
$custom-light: #a570d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7731c4",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 268.571,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.21265,
    "h": 300.2
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#7731C4
secondary
#AACD84
accent
#E34598
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7731C4

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

Preview Lab → · Contrast checker → · Palette generator →

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