#7946D1#7946D1

#7946D1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.203 H 295.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7946D1
RGBrgb(121, 70, 209)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 67%, 82%)
CMYKcmyk(42.1%, 66.5%, 0%, 18%)
CIE-LABlab(42.84, 51.43, -64.05)
CIE-LCHlch(42.84, 82.15, 308.76°)
OKLaboklab(52.97% 0.0872 -0.183)
OKLCHoklch(52.97% 0.203 295.5)
XYZxyz(21.5809, 13.0482, 61.6908)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946D1 #9ED146
analogous
#4659D1 #7946D1 #BE46D1
triadic
#7946D1 #D17946 #46D179
tetradic
#7946D1 #D14659 #9ED146 #46D1BE
square
#7946D1 #D14659 #9ED146 #46D1BE
split-complementary
#7946D1 #D1BE46 #59D146
monochromatic
#421F7D #5B2BAE #7946D1 #9D77DD #C0A8E9

Accessibility & contrast

On white

5.82
#7946D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7946D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946D1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946D1#FFFFFF#000000##FFFFFF
##7946D11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#626786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7946d1;
/* rgb */ color: rgb(121, 70, 209);
/* oklch */ color: oklch(53.0% 0.203 295.5);
Tailwind
colors: {
  custom: {
    50: '#a67de0',
    500: '#7946d1',
    950: '#000000',
  },
}
SCSS
$custom: #7946d1;
$custom-light: #a67de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7946d1",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 262.014,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.20269,
    "h": 295.5
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#7946D1
secondary
#C1D79C
accent
#E344A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7946D1

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

Preview Lab → · Contrast checker → · Palette generator →

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