#7846C8#7846C8

#7846C8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.192 H 296.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7846C8
RGBrgb(120, 70, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(40%, 65%, 0%, 21.6%)
CIE-LABlab(42.07, 48.87, -60.11)
CIE-LCHlch(42.07, 77.47, 309.12°)
OKLaboklab(52.18% 0.0869 -0.1714)
OKLCHoklch(52.18% 0.192 296.9)
XYZxyz(20.3585, 12.5432, 55.9808)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846C8 #96C846
analogous
#4655C8 #7846C8 #B946C8
triadic
#7846C8 #C87846 #46C878
tetradic
#7846C8 #C84655 #96C846 #46C8B9
square
#7846C8 #C84655 #96C846 #46C8B9
split-complementary
#7846C8 #C8B946 #55C846
monochromatic
#412272 #5B30A1 #7846C8 #9A75D6 #BDA4E4

Accessibility & contrast

On white

5.98
#7846C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7846C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846C8#FFFFFF#000000##FFFFFF
##7846C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7846c8;
/* rgb */ color: rgb(120, 70, 200);
/* oklch */ color: oklch(52.2% 0.192 296.9);
Tailwind
colors: {
  custom: {
    50: '#a57cda',
    500: '#7846c8',
    950: '#000000',
  },
}
SCSS
$custom: #7846c8;
$custom-light: #a57cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7846c8",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 263.077,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.19217,
    "h": 296.9
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7846C8

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

Preview Lab → · Contrast checker → · Palette generator →

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