#7844D9#7844D9

#7844D9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.214 H 293.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7844D9
RGBrgb(120, 68, 217)
HSLhsl(261, 66%, 56%)
HSVhsv(261, 69%, 85%)
CMYKcmyk(44.7%, 68.7%, 0%, 14.9%)
CIE-LABlab(42.97, 54.37, -68.44)
CIE-LCHlch(42.97, 87.40, 308.46°)
OKLaboklab(53.23% 0.0866 -0.1959)
OKLCHoklch(53.23% 0.214 293.8)
XYZxyz(22.3338, 13.1364, 66.9910)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844D9 #A5D944
analogous
#445AD9 #7844D9 #C344D9
triadic
#7844D9 #D97844 #44D978
tetradic
#7844D9 #D9445A #A5D944 #44D9C3
square
#7844D9 #D9445A #A5D944 #44D9C3
split-complementary
#7844D9 #D9C344 #5AD944
monochromatic
#411B87 #5A26BA #7844D9 #9D77E3 #C1AAEE

Accessibility & contrast

On white

5.79
#7844D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7844D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844D9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844D9#FFFFFF#000000##FFFFFF
##7844D91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#5C6989
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7844d9;
/* rgb */ color: rgb(120, 68, 217);
/* oklch */ color: oklch(53.2% 0.214 293.8);
Tailwind
colors: {
  custom: {
    50: '#a77ce6',
    500: '#7844d9',
    950: '#000000',
  },
}
SCSS
$custom: #7844d9;
$custom-light: #a77ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7844d9",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 260.94,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.21417,
    "h": 293.8
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#7844D9
secondary
#C6DB9E
accent
#E93FAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7844D9

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

Preview Lab → · Contrast checker → · Palette generator →

#7844D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva