#7931CF#7931CF

#7931CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.224 H 298.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7931CF
RGBrgb(121, 49, 207)
HSLhsl(267, 62%, 50%)
HSVhsv(267, 76%, 81%)
CMYKcmyk(41.5%, 76.3%, 0%, 18.8%)
CIE-LABlab(39.18, 60.73, -68.85)
CIE-LCHlch(39.18, 91.81, 311.42°)
OKLaboklab(50.33% 0.107 -0.197)
OKLCHoklch(50.33% 0.224 298.5)
XYZxyz(20.2431, 10.7663, 60.0310)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931CF #87CF31
analogous
#3138CF #7931CF #C831CF
triadic
#7931CF #CF7931 #31CF79
tetradic
#7931CF #CF3138 #87CF31 #31CFC8
square
#7931CF #CF3138 #87CF31 #31CFC8
split-complementary
#7931CF #CFC831 #38CF31
monochromatic
#3F196C #5C259E #7931CF #9963DB #BA94E6

Accessibility & contrast

On white

6.66
#7931CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7931CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7931CF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931CF#FFFFFF#000000##FFFFFF
##7931CF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#645B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7931cf;
/* rgb */ color: rgb(121, 49, 207);
/* oklch */ color: oklch(50.3% 0.224 298.5);
Tailwind
colors: {
  custom: {
    50: '#a771df',
    500: '#7931cf',
    950: '#000000',
  },
}
SCSS
$custom: #7931cf;
$custom-light: #a771df;
$custom-dark: #000000;
JSON
{
  "hex": "#7931cf",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 267.342,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.22417,
    "h": 298.5
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#7931CF
secondary
#B1D18B
accent
#E5439B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7931CF

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

Preview Lab → · Contrast checker → · Palette generator →

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