#7844D8#7844D8

#7844D8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.213 H 294.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7844D8
RGBrgb(120, 68, 216)
HSLhsl(261, 65%, 56%)
HSVhsv(261, 69%, 85%)
CMYKcmyk(44.4%, 68.5%, 0%, 15.3%)
CIE-LABlab(42.89, 54.10, -67.99)
CIE-LCHlch(42.89, 86.89, 308.51°)
OKLaboklab(53.15% 0.0867 -0.1946)
OKLCHoklch(53.15% 0.213 294)
XYZxyz(22.2042, 13.0846, 66.3081)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844D8 #A4D844
analogous
#445AD8 #7844D8 #C244D8
triadic
#7844D8 #D87844 #44D878
tetradic
#7844D8 #D8445A #A4D844 #44D8C2
square
#7844D8 #D8445A #A4D844 #44D8C2
split-complementary
#7844D8 #D8C244 #5AD844
monochromatic
#411C86 #5A26B8 #7844D8 #9D77E3 #C1A9ED

Accessibility & contrast

On white

5.81
#7844D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7844D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844D8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844D8#FFFFFF#000000##FFFFFF
##7844D81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#5D6989
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7844d8;
/* rgb */ color: rgb(120, 68, 216);
/* oklch */ color: oklch(53.1% 0.213 294.0);
Tailwind
colors: {
  custom: {
    50: '#a77ce5',
    500: '#7844d8',
    950: '#000000',
  },
}
SCSS
$custom: #7844d8;
$custom-light: #a77ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7844d8",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 216
  },
  "hsl": {
    "h": 261.081,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.21304,
    "h": 294
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#7844D8
secondary
#C5DB9D
accent
#E83FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7844D8

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

Preview Lab → · Contrast checker → · Palette generator →

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