#7846BF#7846BF

#7846BF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.182 H 298.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7846BF
RGBrgb(120, 70, 191)
HSLhsl(265, 49%, 51%)
HSVhsv(265, 63%, 75%)
CMYKcmyk(37.2%, 63.4%, 0%, 25.1%)
CIE-LABlab(41.43, 46.53, -55.90)
CIE-LCHlch(41.43, 72.74, 309.77°)
OKLaboklab(51.52% 0.0877 -0.159)
OKLCHoklch(51.52% 0.182 298.9)
XYZxyz(19.3375, 12.1347, 50.6036)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846BF #8DBF46
analogous
#4650BF #7846BF #B446BF
triadic
#7846BF #BF7846 #46BF78
tetradic
#7846BF #BF4650 #8DBF46 #46BFB4
square
#7846BF #BF4650 #8DBF46 #46BFB4
split-complementary
#7846BF #BFB446 #50BF46
monochromatic
#3F2467 #5B3394 #7846BF #9973CF #BAA1DE

Accessibility & contrast

On white

6.13
#7846BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7846BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846BF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846BF#FFFFFF#000000##FFFFFF
##7846BF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0A61BC
Tritanopia (blue-blind)
#68617C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7846bf;
/* rgb */ color: rgb(120, 70, 191);
/* oklch */ color: oklch(51.5% 0.182 298.9);
Tailwind
colors: {
  custom: {
    50: '#a47cd3',
    500: '#7846bf',
    950: '#000000',
  },
}
SCSS
$custom: #7846bf;
$custom-light: #a47cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7846bf",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 264.793,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.18163,
    "h": 298.9
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#7846BF
secondary
#B5CB96
accent
#D850A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7846BF

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

Preview Lab → · Contrast checker → · Palette generator →

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