#7847CE#7847CE

#7847CE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.198 H 295.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7847CE
RGBrgb(120, 71, 206)
HSLhsl(262, 58%, 54%)
HSVhsv(262, 66%, 81%)
CMYKcmyk(41.7%, 65.5%, 0%, 19.2%)
CIE-LABlab(42.70, 49.93, -62.56)
CIE-LCHlch(42.70, 80.04, 308.59°)
OKLaboklab(52.77% 0.0851 -0.1786)
OKLCHoklch(52.77% 0.198 295.5)
XYZxyz(21.1366, 12.9553, 59.7676)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847CE #9DCE47
analogous
#475ACE #7847CE #BC47CE
triadic
#7847CE #CE7847 #47CE78
tetradic
#7847CE #CE475A #9DCE47 #47CEBC
square
#7847CE #CE475A #9DCE47 #47CEBC
split-complementary
#7847CE #CEBC47 #5ACE47
monochromatic
#41217A #5B2DAA #7847CE #9B77DB #BFA8E8

Accessibility & contrast

On white

5.85
#7847CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7847CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847CE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847CE#FFFFFF#000000##FFFFFF
##7847CE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#616784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7847ce;
/* rgb */ color: rgb(120, 71, 206);
/* oklch */ color: oklch(52.8% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#a57dde',
    500: '#7847ce',
    950: '#000000',
  },
}
SCSS
$custom: #7847ce;
$custom-light: #a57dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7847ce",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 261.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.19787,
    "h": 295.5
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#7847CE
secondary
#C0D59C
accent
#E147A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7847CE

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

Preview Lab → · Contrast checker → · Palette generator →

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