#7846D5#7846D5

#7846D5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.207 H 294.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7846D5
RGBrgb(120, 70, 213)
HSLhsl(261, 63%, 55%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.7%, 67.1%, 0%, 16.5%)
CIE-LABlab(43.03, 52.30, -66.04)
CIE-LCHlch(43.03, 84.24, 308.37°)
OKLaboklab(53.17% 0.0853 -0.1889)
OKLCHoklch(53.17% 0.207 294.3)
XYZxyz(21.9429, 13.1769, 64.3252)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846D5 #A3D546
analogous
#465BD5 #7846D5 #BF46D5
triadic
#7846D5 #D57846 #46D578
tetradic
#7846D5 #D5465B #A3D546 #46D5BF
square
#7846D5 #D5465B #A3D546 #46D5BF
split-complementary
#7846D5 #D5BF46 #5BD546
monochromatic
#411E83 #5A29B5 #7846D5 #9C78E0 #C1AAEC

Accessibility & contrast

On white

5.78
#7846D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7846D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846D5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846D5#FFFFFF#000000##FFFFFF
##7846D51.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7846d5;
/* rgb */ color: rgb(120, 70, 213);
/* oklch */ color: oklch(53.2% 0.207 294.3);
Tailwind
colors: {
  custom: {
    50: '#a67de3',
    500: '#7846d5',
    950: '#000000',
  },
}
SCSS
$custom: #7846d5;
$custom-light: #a67de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7846d5",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 260.979,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.20722,
    "h": 294.3
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#7846D5
secondary
#C4D99E
accent
#E642AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7846D5

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

Preview Lab → · Contrast checker → · Palette generator →

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