#7930B2#7930B2

#7930B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.196 H 305.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7930B2
RGBrgb(121, 48, 178)
HSLhsl(274, 58%, 44%)
HSVhsv(274, 73%, 70%)
CMYKcmyk(32%, 73%, 0%, 30.2%)
CIE-LABlab(36.73, 54.29, -55.85)
CIE-LCHlch(36.73, 77.89, 314.19°)
OKLaboklab(47.88% 0.1144 -0.1588)
OKLCHoklch(47.88% 0.196 305.8)
XYZxyz(16.9762, 9.3933, 43.0296)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930B2 #69B230
analogous
#3830B2 #7930B2 #B230AA
triadic
#7930B2 #B27930 #30B279
tetradic
#7930B2 #B23830 #69B230 #30AAB2
square
#7930B2 #B23830 #69B230 #30AAB2
split-complementary
#7930B2 #AAB230 #30B238
monochromatic
#371652 #582382 #7930B2 #9750D0 #B480DD

Accessibility & contrast

On white

7.30
#7930B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7930B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930B2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930B2#FFFFFF#000000##FFFFFF
##7930B21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#6F4F6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7930b2;
/* rgb */ color: rgb(121, 48, 178);
/* oklch */ color: oklch(47.9% 0.196 305.8);
Tailwind
colors: {
  custom: {
    50: '#a56fca',
    500: '#7930b2',
    950: '#000000',
  },
}
SCSS
$custom: #7930b2;
$custom-light: #a56fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7930b2",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 273.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.19569,
    "h": 305.8
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#7930B2
secondary
#9AC678
accent
#E1478A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7930B2

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

Preview Lab → · Contrast checker → · Palette generator →

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