#7844C0#7844C0

#7844C0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.186 H 299.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7844C0
RGBrgb(120, 68, 192)
HSLhsl(265, 50%, 51%)
HSVhsv(265, 65%, 75%)
CMYKcmyk(37.5%, 64.6%, 0%, 24.7%)
CIE-LABlab(41.11, 47.85, -57.00)
CIE-LCHlch(41.11, 74.42, 310.01°)
OKLaboklab(51.31% 0.0899 -0.1623)
OKLCHoklch(51.31% 0.186 299)
XYZxyz(19.3249, 11.9329, 51.1441)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844C0 #8CC044
analogous
#444EC0 #7844C0 #B644C0
triadic
#7844C0 #C07844 #44C078
tetradic
#7844C0 #C0444E #8CC044 #44C0B6
square
#7844C0 #C0444E #8CC044 #44C0B6
split-complementary
#7844C0 #C0B644 #4EC044
monochromatic
#3F2367 #5B3295 #7844C0 #9972CF #BAA0DF

Accessibility & contrast

On white

6.20
#7844C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7844C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844C0#FFFFFF#000000##FFFFFF
##7844C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#68607C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7844c0;
/* rgb */ color: rgb(120, 68, 192);
/* oklch */ color: oklch(51.3% 0.186 299.0);
Tailwind
colors: {
  custom: {
    50: '#a47bd4',
    500: '#7844c0',
    950: '#000000',
  },
}
SCSS
$custom: #7844c0;
$custom-light: #a47bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7844c0",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 192
  },
  "hsl": {
    "h": 265.161,
    "s": 49.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.18551,
    "h": 299
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#7844C0
secondary
#B4CB94
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7844C0

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

Preview Lab → · Contrast checker → · Palette generator →

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