#7933A2#7933A2

#7933A2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.175 H 310.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7933A2
RGBrgb(121, 51, 162)
HSLhsl(278, 52%, 42%)
HSVhsv(278, 69%, 64%)
CMYKcmyk(25.3%, 68.5%, 0%, 36.5%)
CIE-LABlab(36.06, 49.28, -47.37)
CIE-LCHlch(36.06, 68.35, 316.13°)
OKLaboklab(47.04% 0.1135 -0.1338)
OKLCHoklch(47.04% 0.175 310.3)
XYZxyz(15.5893, 9.0416, 35.0994)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7933A2 #5CA233
analogous
#4233A2 #7933A2 #A23394
triadic
#7933A2 #A27933 #33A279
tetradic
#7933A2 #A24233 #5CA233 #3394A2
square
#7933A2 #A24233 #5CA233 #3394A2
split-complementary
#7933A2 #94A233 #33A242
monochromatic
#331645 #562473 #7933A2 #994CC7 #B47AD5

Accessibility & contrast

On white

7.48
#7933A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7933A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7933A2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7933A2#FFFFFF#000000##FFFFFF
##7933A21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2256A0
Tritanopia (blue-blind)
#734A66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7933a2;
/* rgb */ color: rgb(121, 51, 162);
/* oklch */ color: oklch(47.0% 0.175 310.3);
Tailwind
colors: {
  custom: {
    50: '#a370be',
    500: '#7933a2',
    950: '#000000',
  },
}
SCSS
$custom: #7933a2;
$custom-light: #a370be;
$custom-dark: #000000;
JSON
{
  "hex": "#7933a2",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 277.838,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.17547,
    "h": 310.3
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#7933A2
secondary
#8FBE73
accent
#DC4C81
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7933A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7933A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva