#7846D8#7846D8

#7846D8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.211 H 293.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7846D8
RGBrgb(120, 70, 216)
HSLhsl(261, 65%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(44.4%, 67.6%, 0%, 15.3%)
CIE-LABlab(43.26, 53.09, -67.39)
CIE-LCHlch(43.26, 85.79, 308.23°)
OKLaboklab(53.41% 0.0848 -0.1928)
OKLCHoklch(53.41% 0.211 293.7)
XYZxyz(22.3272, 13.3306, 66.3491)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846D8 #A6D846
analogous
#465DD8 #7846D8 #C146D8
triadic
#7846D8 #D87846 #46D878
tetradic
#7846D8 #D8465D #A6D846 #46D8C1
square
#7846D8 #D8465D #A6D846 #46D8C1
split-complementary
#7846D8 #D8C146 #5DD846
monochromatic
#411C87 #5927BA #7846D8 #9D79E3 #C2ABED

Accessibility & contrast

On white

5.73
#7846D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7846D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846D8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846D8#FFFFFF#000000##FFFFFF
##7846D81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#5D6A89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7846d8;
/* rgb */ color: rgb(120, 70, 216);
/* oklch */ color: oklch(53.4% 0.211 293.7);
Tailwind
colors: {
  custom: {
    50: '#a67de5',
    500: '#7846d8',
    950: '#000000',
  },
}
SCSS
$custom: #7846d8;
$custom-light: #a67de5;
$custom-dark: #000000;
JSON
{
  "hex": "#7846d8",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 260.548,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.21066,
    "h": 293.7
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#7846D8
secondary
#C6DB9F
accent
#E840AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7846D8

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

Preview Lab → · Contrast checker → · Palette generator →

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