#7844C5#7844C5

#7844C5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.191 H 297.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7844C5
RGBrgb(120, 68, 197)
HSLhsl(264, 53%, 52%)
HSVhsv(264, 65%, 77%)
CMYKcmyk(39.1%, 65.5%, 0%, 22.7%)
CIE-LABlab(41.47, 49.14, -59.34)
CIE-LCHlch(41.47, 77.04, 309.63°)
OKLaboklab(51.68% 0.0894 -0.1691)
OKLCHoklch(51.68% 0.191 297.8)
XYZxyz(19.8883, 12.1582, 54.1114)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844C5 #91C544
analogous
#4451C5 #7844C5 #B944C5
triadic
#7844C5 #C57844 #44C578
tetradic
#7844C5 #C54451 #91C544 #44C5B9
square
#7844C5 #C54451 #91C544 #44C5B9
split-complementary
#7844C5 #C5B944 #51C544
monochromatic
#40226D #5C309C #7844C5 #9A73D3 #BBA1E2

Accessibility & contrast

On white

6.12
#7844C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7844C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844C5#FFFFFF#000000##FFFFFF
##7844C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#66627F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7844c5;
/* rgb */ color: rgb(120, 68, 197);
/* oklch */ color: oklch(51.7% 0.191 297.8);
Tailwind
colors: {
  custom: {
    50: '#a57bd7',
    500: '#7844c5',
    950: '#000000',
  },
}
SCSS
$custom: #7844c5;
$custom-light: #a57bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7844c5",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 264.186,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.19131,
    "h": 297.8
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#7844C5
secondary
#B8CF96
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7844C5

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

Preview Lab → · Contrast checker → · Palette generator →

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