#7846AF#7846AF

#7846AF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.163 H 303.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7846AF
RGBrgb(120, 70, 175)
HSLhsl(269, 43%, 48%)
HSVhsv(269, 60%, 69%)
CMYKcmyk(31.4%, 60%, 0%, 31.4%)
CIE-LABlab(40.36, 42.45, -48.22)
CIE-LCHlch(40.36, 64.25, 311.36°)
OKLaboklab(50.4% 0.0885 -0.1365)
OKLCHoklch(50.4% 0.163 303)
XYZxyz(17.6720, 11.4685, 41.8318)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846AF #7DAF46
analogous
#4649AF #7846AF #AC46AF
triadic
#7846AF #AF7846 #46AF78
tetradic
#7846AF #AF4649 #7DAF46 #46AFAC
square
#7846AF #AF4649 #7DAF46 #46AFAC
split-complementary
#7846AF #AFAC46 #49AF46
monochromatic
#3C2358 #5A3583 #7846AF #976DC5 #B699D6

Accessibility & contrast

On white

6.38
#7846AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7846AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846AF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846AF#FFFFFF#000000##FFFFFF
##7846AF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#6E5B74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7846af;
/* rgb */ color: rgb(120, 70, 175);
/* oklch */ color: oklch(50.4% 0.163 303.0);
Tailwind
colors: {
  custom: {
    50: '#a37cc7',
    500: '#7846af',
    950: '#000000',
  },
}
SCSS
$custom: #7846af;
$custom-light: #a37cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7846af",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 268.571,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.16265,
    "h": 303
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#7846AF
secondary
#AAC28E
accent
#D35597
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7846AF

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

Preview Lab → · Contrast checker → · Palette generator →

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