#7931CA#7931CA

#7931CA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.219 H 299.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7931CA
RGBrgb(121, 49, 202)
HSLhsl(268, 61%, 49%)
HSVhsv(268, 76%, 79%)
CMYKcmyk(40.1%, 75.7%, 0%, 20.8%)
CIE-LABlab(38.77, 59.53, -66.63)
CIE-LCHlch(38.77, 89.35, 311.78°)
OKLaboklab(49.91% 0.1083 -0.1904)
OKLCHoklch(49.91% 0.219 299.6)
XYZxyz(19.6415, 10.5256, 56.8625)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931CA #82CA31
analogous
#3136CA #7931CA #C631CA
triadic
#7931CA #CA7931 #31CA79
tetradic
#7931CA #CA3136 #82CA31 #31CAC6
square
#7931CA #CA3136 #82CA31 #31CAC6
split-complementary
#7931CA #CAC631 #36CA31
monochromatic
#3E1967 #5B2599 #7931CA #9960D8 #B891E4

Accessibility & contrast

On white

6.76
#7931CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7931CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7931CA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931CA#FFFFFF#000000##FFFFFF
##7931CA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#66597C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7931ca;
/* rgb */ color: rgb(121, 49, 202);
/* oklch */ color: oklch(49.9% 0.219 299.6);
Tailwind
colors: {
  custom: {
    50: '#a771db',
    500: '#7931ca',
    950: '#000000',
  },
}
SCSS
$custom: #7931ca;
$custom-light: #a771db;
$custom-dark: #000000;
JSON
{
  "hex": "#7931ca",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 268.235,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.21908,
    "h": 299.6
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#7931CA
secondary
#ADCF88
accent
#E44499
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7931CA

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

Preview Lab → · Contrast checker → · Palette generator →

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