#7946C8#7946C8

#7946C8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.192 H 297.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7946C8
RGBrgb(121, 70, 200)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 65%, 78%)
CMYKcmyk(39.5%, 65%, 0%, 21.6%)
CIE-LABlab(42.18, 49.08, -59.92)
CIE-LCHlch(42.18, 77.46, 309.32°)
OKLaboklab(52.28% 0.0882 -0.1708)
OKLCHoklch(52.28% 0.192 297.3)
XYZxyz(20.4980, 12.6151, 55.9874)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7946C8 #95C846
analogous
#4654C8 #7946C8 #BA46C8
triadic
#7946C8 #C87946 #46C879
tetradic
#7946C8 #C84654 #95C846 #46C8BA
square
#7946C8 #C84654 #95C846 #46C8BA
split-complementary
#7946C8 #C8BA46 #54C846
monochromatic
#412272 #5C30A1 #7946C8 #9B75D6 #BDA4E4

Accessibility & contrast

On white

5.96
#7946C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7946C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7946C8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7946C8#FFFFFF#000000##FFFFFF
##7946C81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#666481
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7946c8;
/* rgb */ color: rgb(121, 70, 200);
/* oklch */ color: oklch(52.3% 0.192 297.3);
Tailwind
colors: {
  custom: {
    50: '#a57cda',
    500: '#7946c8',
    950: '#000000',
  },
}
SCSS
$custom: #7946c8;
$custom-light: #a57cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7946c8",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 263.538,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.19228,
    "h": 297.3
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#7946C8
secondary
#BBD199
accent
#DE4AA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7946C8

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

Preview Lab → · Contrast checker → · Palette generator →

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