#7847DA#7847DA

#7847DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.212 H 293.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7847DA
RGBrgb(120, 71, 218)
HSLhsl(260, 67%, 57%)
HSVhsv(260, 67%, 85%)
CMYKcmyk(45%, 67.4%, 0%, 14.5%)
CIE-LABlab(43.60, 53.11, -67.98)
CIE-LCHlch(43.60, 86.27, 308.00°)
OKLaboklab(53.7% 0.0835 -0.1946)
OKLCHoklch(53.7% 0.212 293.2)
XYZxyz(22.6504, 13.5608, 67.7402)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847DA #A9DA47
analogous
#4760DA #7847DA #C247DA
triadic
#7847DA #DA7847 #47DA78
tetradic
#7847DA #DA4760 #A9DA47 #47DAC2
square
#7847DA #DA4760 #A9DA47 #47DAC2
split-complementary
#7847DA #DAC247 #60DA47
monochromatic
#411C8B #5926BE #7847DA #9D7AE4 #C3ADEE

Accessibility & contrast

On white

5.66
#7847DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7847DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847DA#FFFFFF#000000##FFFFFF
##7847DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#5B6B8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7847da;
/* rgb */ color: rgb(120, 71, 218);
/* oklch */ color: oklch(53.7% 0.212 293.2);
Tailwind
colors: {
  custom: {
    50: '#a77ee6',
    500: '#7847da',
    950: '#000000',
  },
}
SCSS
$custom: #7847da;
$custom-light: #a77ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7847da",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 260,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.21174,
    "h": 293.2
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#7847DA
secondary
#C8DCA0
accent
#E93EB0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7847DA

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

Preview Lab → · Contrast checker → · Palette generator →

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