#7846C6#7846C6

#7846C6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.190 H 297.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7846C6
RGBrgb(120, 70, 198)
HSLhsl(263, 53%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(39.4%, 64.6%, 0%, 22.4%)
CIE-LABlab(41.92, 48.35, -59.18)
CIE-LCHlch(41.92, 76.42, 309.25°)
OKLaboklab(52.03% 0.0871 -0.1687)
OKLCHoklch(52.03% 0.19 297.3)
XYZxyz(20.1263, 12.4503, 54.7579)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846C6 #94C646
analogous
#4654C6 #7846C6 #B846C6
triadic
#7846C6 #C67846 #46C678
tetradic
#7846C6 #C64654 #94C646 #46C6B8
square
#7846C6 #C64654 #94C646 #46C6B8
split-complementary
#7846C6 #C6B846 #54C646
monochromatic
#40226F #5B319E #7846C6 #9A75D4 #BCA4E3

Accessibility & contrast

On white

6.02
#7846C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7846C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846C6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846C6#FFFFFF#000000##FFFFFF
##7846C61.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#656380
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7846c6;
/* rgb */ color: rgb(120, 70, 198);
/* oklch */ color: oklch(52.0% 0.190 297.3);
Tailwind
colors: {
  custom: {
    50: '#a57cd8',
    500: '#7846c6',
    950: '#000000',
  },
}
SCSS
$custom: #7846c6;
$custom-light: #a57cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7846c6",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 198
  },
  "hsl": {
    "h": 263.438,
    "s": 52.893,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.18983,
    "h": 297.3
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#7846C6
secondary
#BAD098
accent
#DC4BA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7846C6

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

Preview Lab → · Contrast checker → · Palette generator →

#7846C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva