#7846CE#7846CE

#7846CE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.199 H 295.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7846CE
RGBrgb(120, 70, 206)
HSLhsl(262, 58%, 54%)
HSVhsv(262, 66%, 81%)
CMYKcmyk(41.7%, 66%, 0%, 19.2%)
CIE-LABlab(42.50, 50.45, -62.87)
CIE-LCHlch(42.50, 80.61, 308.75°)
OKLaboklab(52.63% 0.0862 -0.1795)
OKLCHoklch(52.63% 0.199 295.6)
XYZxyz(21.0735, 12.8292, 59.7465)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846CE #9CCE46
analogous
#4658CE #7846CE #BC46CE
triadic
#7846CE #CE7846 #46CE78
tetradic
#7846CE #CE4658 #9CCE46 #46CEBC
square
#7846CE #CE4658 #9CCE46 #46CEBC
split-complementary
#7846CE #CEBC46 #58CE46
monochromatic
#412079 #5B2DAA #7846CE #9B76DB #BFA7E8

Accessibility & contrast

On white

5.89
#7846CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7846CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846CE#FFFFFF#000000##FFFFFF
##7846CE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#616684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7846ce;
/* rgb */ color: rgb(120, 70, 206);
/* oklch */ color: oklch(52.6% 0.199 295.6);
Tailwind
colors: {
  custom: {
    50: '#a57dde',
    500: '#7846ce',
    950: '#000000',
  },
}
SCSS
$custom: #7846ce;
$custom-light: #a57dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7846ce",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 262.059,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.19915,
    "h": 295.6
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#7846CE
secondary
#C0D59B
accent
#E146A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7846CE

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

Preview Lab → · Contrast checker → · Palette generator →

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