#7847DE#7847DE

#7847DE is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.216 H 292.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7847DE
RGBrgb(120, 71, 222)
HSLhsl(259, 70%, 57%)
HSVhsv(259, 68%, 87%)
CMYKcmyk(45.9%, 68%, 0%, 12.9%)
CIE-LABlab(43.91, 54.18, -69.76)
CIE-LCHlch(43.91, 88.33, 307.83°)
OKLaboklab(54.02% 0.0829 -0.1998)
OKLCHoklch(54.02% 0.216 292.5)
XYZxyz(23.1801, 13.7727, 70.5301)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847DE #ADDE47
analogous
#4762DE #7847DE #C347DE
triadic
#7847DE #DE7847 #47DE78
tetradic
#7847DE #DE4762 #ADDE47 #47DEC3
square
#7847DE #DE4762 #ADDE47 #47DEC3
split-complementary
#7847DE #DEC347 #62DE47
monochromatic
#401A91 #5823C5 #7847DE #9E7BE7 #C4AFF1

Accessibility & contrast

On white

5.59
#7847DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7847DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847DE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847DE#FFFFFF#000000##FFFFFF
##7847DE1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#596D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7847de;
/* rgb */ color: rgb(120, 71, 222);
/* oklch */ color: oklch(54.0% 0.216 292.5);
Tailwind
colors: {
  custom: {
    50: '#a77ee9',
    500: '#7847de',
    950: '#000000',
  },
}
SCSS
$custom: #7847de;
$custom-light: #a77ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7847de",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 259.47,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.21632,
    "h": 292.5
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#7847DE
secondary
#CBDFA2
accent
#EC3BB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7847DE

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

Preview Lab → · Contrast checker → · Palette generator →

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