#7946B0#7946B0

#7946B0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.164 H 303.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7946B0
RGBrgb(121, 70, 176)
HSLhsl(269, 43%, 48%)
HSVhsv(269, 60%, 69%)
CMYKcmyk(31.3%, 60.2%, 0%, 31%)
CIE-LABlab(40.54, 42.94, -48.52)
CIE-LCHlch(40.54, 64.79, 311.51°)
OKLaboklab(50.58% 0.0898 -0.1373)
OKLCHoklch(50.58% 0.164 303.2)
XYZxyz(17.9100, 11.5799, 42.3575)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946B0 #7DB046
analogous
#4648B0 #7946B0 #AE46B0
triadic
#7946B0 #B07946 #46B079
tetradic
#7946B0 #B04648 #7DB046 #46B0AE
square
#7946B0 #B04648 #7DB046 #46B0AE
split-complementary
#7946B0 #B0AE46 #48B046
monochromatic
#3D2358 #5B3584 #7946B0 #986EC5 #B79AD7

Accessibility & contrast

On white

6.33
#7946B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7946B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946B0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946B0#FFFFFF#000000##FFFFFF
##7946B01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB3
Deuteranopia (green-blind)
#2B5FAE
Tritanopia (blue-blind)
#6F5C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7946b0;
/* rgb */ color: rgb(121, 70, 176);
/* oklch */ color: oklch(50.6% 0.164 303.2);
Tailwind
colors: {
  custom: {
    50: '#a37cc8',
    500: '#7946b0',
    950: '#000000',
  },
}
SCSS
$custom: #7946b0;
$custom-light: #a37cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7946b0",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 268.868,
    "s": 43.089,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.16406,
    "h": 303.2
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#7946B0
secondary
#AAC38F
accent
#D35596
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7946B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7946B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva