#7846BB#7846BB

#7846BB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.177 H 299.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7846BB
RGBrgb(120, 70, 187)
HSLhsl(266, 46%, 50%)
HSVhsv(266, 63%, 73%)
CMYKcmyk(35.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(41.15, 45.50, -54.01)
CIE-LCHlch(41.15, 70.62, 310.11°)
OKLaboklab(51.23% 0.088 -0.1535)
OKLCHoklch(51.23% 0.177 299.8)
XYZxyz(18.9033, 11.9611, 48.3169)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846BB #89BB46
analogous
#464EBB #7846BB #B246BB
triadic
#7846BB #BB7846 #46BB78
tetradic
#7846BB #BB464E #89BB46 #46BBB2
square
#7846BB #BB464E #89BB46 #46BBB2
split-complementary
#7846BB #BBB246 #4EBB46
monochromatic
#3F2462 #5B358F #7846BB #9973CB #B9A0DC

Accessibility & contrast

On white

6.19
#7846BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7846BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846BB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846BB#FFFFFF#000000##FFFFFF
##7846BB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1760B8
Tritanopia (blue-blind)
#695F7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7846bb;
/* rgb */ color: rgb(120, 70, 187);
/* oklch */ color: oklch(51.2% 0.177 299.8);
Tailwind
colors: {
  custom: {
    50: '#a47cd0',
    500: '#7846bb',
    950: '#000000',
  },
}
SCSS
$custom: #7846bb;
$custom-light: #a47cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7846bb",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 265.641,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.17691,
    "h": 299.8
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#7846BB
secondary
#B2C894
accent
#D6529D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7846BB

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

Preview Lab → · Contrast checker → · Palette generator →

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