#7846BE#7846BE

#7846BE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.180 H 299.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7846BE
RGBrgb(120, 70, 190)
HSLhsl(265, 48%, 51%)
HSVhsv(265, 63%, 75%)
CMYKcmyk(36.8%, 63.2%, 0%, 25.5%)
CIE-LABlab(41.36, 46.27, -55.43)
CIE-LCHlch(41.36, 72.21, 309.86°)
OKLaboklab(51.44% 0.0878 -0.1577)
OKLCHoklch(51.44% 0.18 299.1)
XYZxyz(19.2278, 12.0909, 50.0260)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846BE #8CBE46
analogous
#4650BE #7846BE #B446BE
triadic
#7846BE #BE7846 #46BE78
tetradic
#7846BE #BE4650 #8CBE46 #46BEB4
square
#7846BE #BE4650 #8CBE46 #46BEB4
split-complementary
#7846BE #BEB446 #50BE46
monochromatic
#3F2466 #5B3493 #7846BE #9973CE #BAA1DE

Accessibility & contrast

On white

6.14
#7846BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7846BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846BE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846BE#FFFFFF#000000##FFFFFF
##7846BE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0E60BB
Tritanopia (blue-blind)
#68617B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7846be;
/* rgb */ color: rgb(120, 70, 190);
/* oklch */ color: oklch(51.4% 0.180 299.1);
Tailwind
colors: {
  custom: {
    50: '#a47cd2',
    500: '#7846be',
    950: '#000000',
  },
}
SCSS
$custom: #7846be;
$custom-light: #a47cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7846be",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 265,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.18045,
    "h": 299.1
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7846BE

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

Preview Lab → · Contrast checker → · Palette generator →

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