#7846D6#7846D6

#7846D6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.208 H 294.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7846D6
RGBrgb(120, 70, 214)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.9%, 67.3%, 0%, 16.1%)
CIE-LABlab(43.10, 52.56, -66.49)
CIE-LCHlch(43.10, 84.76, 308.32°)
OKLaboklab(53.25% 0.0851 -0.1902)
OKLCHoklch(53.25% 0.208 294.1)
XYZxyz(22.0702, 13.2278, 64.9957)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846D6 #A4D646
analogous
#465CD6 #7846D6 #C046D6
triadic
#7846D6 #D67846 #46D678
tetradic
#7846D6 #D6465C #A4D646 #46D6C0
square
#7846D6 #D6465C #A4D646 #46D6C0
split-complementary
#7846D6 #D6C046 #5CD646
monochromatic
#411D84 #5A28B6 #7846D6 #9D78E1 #C1AAEC

Accessibility & contrast

On white

5.76
#7846D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7846D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846D6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846D6#FFFFFF#000000##FFFFFF
##7846D61.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#5E6988
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7846d6;
/* rgb */ color: rgb(120, 70, 214);
/* oklch */ color: oklch(53.3% 0.208 294.1);
Tailwind
colors: {
  custom: {
    50: '#a67de4',
    500: '#7846d6',
    950: '#000000',
  },
}
SCSS
$custom: #7846d6;
$custom-light: #a67de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7846d6",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 260.833,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.20836,
    "h": 294.1
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#7846D6
secondary
#C5DA9E
accent
#E741AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7846D6

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

Preview Lab → · Contrast checker → · Palette generator →

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