#7930AF#7930AF

#7930AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.193 H 306.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7930AF
RGBrgb(121, 48, 175)
HSLhsl(274, 57%, 44%)
HSVhsv(274, 73%, 69%)
CMYKcmyk(30.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(36.51, 53.60, -54.43)
CIE-LCHlch(36.51, 76.39, 314.56°)
OKLaboklab(47.65% 0.1149 -0.1546)
OKLCHoklch(47.65% 0.193 306.6)
XYZxyz(16.6783, 9.2742, 41.4606)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930AF #66AF30
analogous
#3930AF #7930AF #AF30A5
triadic
#7930AF #AF7930 #30AF79
tetradic
#7930AF #AF3930 #66AF30 #30A5AF
square
#7930AF #AF3930 #66AF30 #30A5AF
split-complementary
#7930AF #A5AF30 #30AF39
monochromatic
#37164F #58237F #7930AF #984ECE #B47EDC

Accessibility & contrast

On white

7.36
#7930AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7930AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930AF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930AF#FFFFFF#000000##FFFFFF
##7930AF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#704E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7930af;
/* rgb */ color: rgb(121, 48, 175);
/* oklch */ color: oklch(47.7% 0.193 306.6);
Tailwind
colors: {
  custom: {
    50: '#a46fc8',
    500: '#7930af',
    950: '#000000',
  },
}
SCSS
$custom: #7930af;
$custom-light: #a46fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7930af",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 274.488,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.19264,
    "h": 306.6
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#7930AF
secondary
#98C476
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7930AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva