#7930C5#7930C5

#7930C5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.215 H 300.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7930C5
RGBrgb(121, 48, 197)
HSLhsl(269, 61%, 48%)
HSVhsv(269, 76%, 77%)
CMYKcmyk(38.6%, 75.6%, 0%, 22.7%)
CIE-LABlab(38.22, 58.75, -64.62)
CIE-LCHlch(38.22, 87.34, 312.28°)
OKLaboklab(49.39% 0.1104 -0.1845)
OKLCHoklch(49.39% 0.215 300.9)
XYZxyz(19.0177, 10.2099, 53.7813)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930C5 #7CC530
analogous
#3032C5 #7930C5 #C330C5
triadic
#7930C5 #C57930 #30C579
tetradic
#7930C5 #C53032 #7CC530 #30C5C3
square
#7930C5 #C53032 #7CC530 #30C5C3
split-complementary
#7930C5 #C5C330 #32C530
monochromatic
#3D1863 #5B2494 #7930C5 #985BD7 #B78CE3

Accessibility & contrast

On white

6.90
#7930C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7930C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7930C5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930C5#FFFFFF#000000##FFFFFF
##7930C51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#685779
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7930c5;
/* rgb */ color: rgb(121, 48, 197);
/* oklch */ color: oklch(49.4% 0.215 300.9);
Tailwind
colors: {
  custom: {
    50: '#a670d8',
    500: '#7930c5',
    950: '#000000',
  },
}
SCSS
$custom: #7930c5;
$custom-light: #a670d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7930c5",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 269.396,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.21502,
    "h": 300.9
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#7930C5
secondary
#A9CD84
accent
#E44496
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7930C5

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

Preview Lab → · Contrast checker → · Palette generator →

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