#7946D5#7946D5

#7946D5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.207 H 294.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7946D5
RGBrgb(121, 70, 213)
HSLhsl(261, 63%, 55%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.2%, 67.1%, 0%, 16.5%)
CIE-LABlab(43.14, 52.48, -65.86)
CIE-LCHlch(43.14, 84.22, 308.55°)
OKLaboklab(53.27% 0.0866 -0.1883)
OKLCHoklch(53.27% 0.207 294.7)
XYZxyz(22.0823, 13.2488, 64.3317)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946D5 #A2D546
analogous
#465AD5 #7946D5 #C146D5
triadic
#7946D5 #D57946 #46D579
tetradic
#7946D5 #D5465A #A2D546 #46D5C1
square
#7946D5 #D5465A #A2D546 #46D5C1
split-complementary
#7946D5 #D5C146 #5AD546
monochromatic
#421E83 #5B29B5 #7946D5 #9D78E0 #C1AAEC

Accessibility & contrast

On white

5.75
#7946D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7946D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946D5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946D5#FFFFFF#000000##FFFFFF
##7946D51.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#606988
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7946d5;
/* rgb */ color: rgb(121, 70, 213);
/* oklch */ color: oklch(53.3% 0.207 294.7);
Tailwind
colors: {
  custom: {
    50: '#a77de3',
    500: '#7946d5',
    950: '#000000',
  },
}
SCSS
$custom: #7946d5;
$custom-light: #a77de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7946d5",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 261.399,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.20728,
    "h": 294.7
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#7946D5
secondary
#C4D99E
accent
#E642AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7946D5

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

Preview Lab → · Contrast checker → · Palette generator →

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