#7931C0#7931C0

#7931C0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.209 H 302.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7931C0
RGBrgb(121, 49, 192)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 75%)
CMYKcmyk(37%, 74.5%, 0%, 24.7%)
CIE-LABlab(37.96, 57.14, -62.11)
CIE-LCHlch(37.96, 84.40, 312.62°)
OKLaboklab(49.09% 0.1106 -0.1772)
OKLCHoklch(49.09% 0.209 302)
XYZxyz(18.4956, 10.0673, 50.8277)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931C0 #78C031
analogous
#3231C0 #7931C0 #C031BF
triadic
#7931C0 #C07931 #31C079
tetradic
#7931C0 #C03231 #78C031 #31BFC0
square
#7931C0 #C03231 #78C031 #31BFC0
split-complementary
#7931C0 #BFC031 #31C032
monochromatic
#3C185E #5A258F #7931C0 #9859D5 #B68AE1

Accessibility & contrast

On white

6.97
#7931C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7931C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7931C0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931C0#FFFFFF#000000##FFFFFF
##7931C01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7931c0;
/* rgb */ color: rgb(121, 49, 192);
/* oklch */ color: oklch(49.1% 0.209 302.0);
Tailwind
colors: {
  custom: {
    50: '#a670d4',
    500: '#7931c0',
    950: '#000000',
  },
}
SCSS
$custom: #7931c0;
$custom-light: #a670d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7931c0",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 270.21,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.20887,
    "h": 302
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#7931C0
secondary
#A6CB82
accent
#E34593
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7931C0

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

Preview Lab → · Contrast checker → · Palette generator →

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