#7846BD#7846BD

#7846BD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.179 H 299.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7846BD
RGBrgb(120, 70, 189)
HSLhsl(265, 47%, 51%)
HSVhsv(265, 63%, 74%)
CMYKcmyk(36.5%, 63%, 0%, 25.9%)
CIE-LABlab(41.29, 46.02, -54.96)
CIE-LCHlch(41.29, 71.68, 309.94°)
OKLaboklab(51.37% 0.0879 -0.1563)
OKLCHoklch(51.37% 0.179 299.3)
XYZxyz(19.1189, 12.0473, 49.4523)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846BD #8BBD46
analogous
#464FBD #7846BD #B346BD
triadic
#7846BD #BD7846 #46BD78
tetradic
#7846BD #BD464F #8BBD46 #46BDB3
square
#7846BD #BD464F #8BBD46 #46BDB3
split-complementary
#7846BD #BDB346 #4FBD46
monochromatic
#3F2465 #5B3492 #7846BD #9973CD #BAA0DD

Accessibility & contrast

On white

6.16
#7846BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7846BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846BD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846BD#FFFFFF#000000##FFFFFF
##7846BD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#69607B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7846bd;
/* rgb */ color: rgb(120, 70, 189);
/* oklch */ color: oklch(51.4% 0.179 299.3);
Tailwind
colors: {
  custom: {
    50: '#a47cd2',
    500: '#7846bd',
    950: '#000000',
  },
}
SCSS
$custom: #7846bd;
$custom-light: #a47cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7846bd",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 265.21,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.17927,
    "h": 299.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#7846BD
secondary
#B4CA95
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7846BD

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

Preview Lab → · Contrast checker → · Palette generator →

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