#7846C7#7846C7

#7846C7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.191 H 297.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7846C7
RGBrgb(120, 70, 199)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(39.7%, 64.8%, 0%, 22%)
CIE-LABlab(41.99, 48.61, -59.64)
CIE-LCHlch(41.99, 76.95, 309.18°)
OKLaboklab(52.1% 0.087 -0.17)
OKLCHoklch(52.1% 0.191 297.1)
XYZxyz(20.2420, 12.4966, 55.3674)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846C7 #95C746
analogous
#4654C7 #7846C7 #B946C7
triadic
#7846C7 #C77846 #46C778
tetradic
#7846C7 #C74654 #95C746 #46C7B9
square
#7846C7 #C74654 #95C746 #46C7B9
split-complementary
#7846C7 #C7B946 #54C746
monochromatic
#402271 #5B30A0 #7846C7 #9A75D5 #BDA4E3

Accessibility & contrast

On white

6.00
#7846C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7846C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846C7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846C7#FFFFFF#000000##FFFFFF
##7846C71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#656480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7846c7;
/* rgb */ color: rgb(120, 70, 199);
/* oklch */ color: oklch(52.1% 0.191 297.1);
Tailwind
colors: {
  custom: {
    50: '#a57cd9',
    500: '#7846c7',
    950: '#000000',
  },
}
SCSS
$custom: #7846c7;
$custom-light: #a57cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7846c7",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 263.256,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.191,
    "h": 297.1
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#7846C7
secondary
#BBD098
accent
#DD4BA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7846C7

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

Preview Lab → · Contrast checker → · Palette generator →

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