#7930BD#7930BD

#7930BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.207 H 302.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7930BD
RGBrgb(121, 48, 189)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 75%, 74%)
CMYKcmyk(36%, 74.6%, 0%, 25.9%)
CIE-LABlab(37.58, 56.86, -60.97)
CIE-LCHlch(37.58, 83.37, 313.00°)
OKLaboklab(48.74% 0.1122 -0.1738)
OKLCHoklch(48.74% 0.207 302.8)
XYZxyz(18.1252, 9.8530, 49.0812)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7930BD #74BD30
analogous
#3330BD #7930BD #BD30BB
triadic
#7930BD #BD7930 #30BD79
tetradic
#7930BD #BD3330 #74BD30 #30BBBD
square
#7930BD #BD3330 #74BD30 #30BBBD
split-complementary
#7930BD #BBBD30 #30BD33
monochromatic
#3B175B #5A248C #7930BD #9756D4 #B587E0

Accessibility & contrast

On white

7.07
#7930BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7930BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7930BD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7930BD#FFFFFF#000000##FFFFFF
##7930BD1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6B5474
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7930bd;
/* rgb */ color: rgb(121, 48, 189);
/* oklch */ color: oklch(48.7% 0.207 302.8);
Tailwind
colors: {
  custom: {
    50: '#a670d2',
    500: '#7930bd',
    950: '#000000',
  },
}
SCSS
$custom: #7930bd;
$custom-light: #a670d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7930bd",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 271.064,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.20689,
    "h": 302.8
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#7930BD
secondary
#A3CA7F
accent
#E34591
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7930BD

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

Preview Lab → · Contrast checker → · Palette generator →

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