#7930B7#7930B7

#7930B7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.201 H 304.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7930B7
RGBrgb(121, 48, 183)
HSLhsl(272, 58%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(33.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(37.11, 55.45, -58.20)
CIE-LCHlch(37.11, 80.39, 313.62°)
OKLaboklab(48.27% 0.1135 -0.1657)
OKLCHoklch(48.27% 0.201 304.4)
XYZxyz(17.4874, 9.5978, 45.7219)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B7 #6EB730
analogous
#3530B7 #7930B7 #B730B2
triadic
#7930B7 #B77930 #30B779
tetradic
#7930B7 #B73530 #6EB730 #30B2B7
square
#7930B7 #B73530 #6EB730 #30B2B7
split-complementary
#7930B7 #B2B730 #30B735
monochromatic
#391756 #592387 #7930B7 #9752D2 #B483DE

Accessibility & contrast

On white

7.19
#7930B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7930B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B7#FFFFFF#000000##FFFFFF
##7930B71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#6D5171
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7930b7;
/* rgb */ color: rgb(121, 48, 183);
/* oklch */ color: oklch(48.3% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#a56fcd',
    500: '#7930b7',
    950: '#000000',
  },
}
SCSS
$custom: #7930b7;
$custom-light: #a56fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b7",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 272.444,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.20078,
    "h": 304.4
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#7930B7
secondary
#9EC87B
accent
#E2468E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7930B7

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

Preview Lab → · Contrast checker → · Palette generator →

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