#7931B3#7931B3

#7931B3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 305.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7931B3
RGBrgb(121, 49, 179)
HSLhsl(273, 57%, 45%)
HSVhsv(273, 73%, 70%)
CMYKcmyk(32.4%, 72.6%, 0%, 29.8%)
CIE-LABlab(36.96, 54.09, -56.07)
CIE-LCHlch(36.96, 77.91, 313.97°)
OKLaboklab(48.07% 0.1132 -0.1594)
OKLCHoklch(48.07% 0.196 305.4)
XYZxyz(17.1183, 9.5164, 43.5741)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7931B3 #6BB331
analogous
#3831B3 #7931B3 #B331AC
triadic
#7931B3 #B37931 #31B379
tetradic
#7931B3 #B33831 #6BB331 #31ACB3
square
#7931B3 #B33831 #6BB331 #31ACB3
split-complementary
#7931B3 #ACB331 #31B338
monochromatic
#381753 #592483 #7931B3 #9752D0 #B482DD

Accessibility & contrast

On white

7.23
#7931B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7931B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7931B3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7931B3#FFFFFF#000000##FFFFFF
##7931B31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#6E506F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7931b3;
/* rgb */ color: rgb(121, 49, 179);
/* oklch */ color: oklch(48.1% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#a570cb',
    500: '#7931b3',
    950: '#000000',
  },
}
SCSS
$custom: #7931b3;
$custom-light: #a570cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7931b3",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 273.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.19555,
    "h": 305.4
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#7931B3
secondary
#9CC67A
accent
#E0488C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7931B3

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

Preview Lab → · Contrast checker → · Palette generator →

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