#7844C8#7844C8

#7844C8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.195 H 297.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7844C8
RGBrgb(120, 68, 200)
HSLhsl(264, 55%, 53%)
HSVhsv(264, 66%, 78%)
CMYKcmyk(40%, 66%, 0%, 21.6%)
CIE-LABlab(41.68, 49.92, -60.73)
CIE-LCHlch(41.68, 78.61, 309.42°)
OKLaboklab(51.9% 0.089 -0.1732)
OKLCHoklch(51.9% 0.195 297.2)
XYZxyz(20.2355, 12.2971, 55.9398)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844C8 #94C844
analogous
#4452C8 #7844C8 #BA44C8
triadic
#7844C8 #C87844 #44C878
tetradic
#7844C8 #C84452 #94C844 #44C8BA
square
#7844C8 #C84452 #94C844 #44C8BA
split-complementary
#7844C8 #C8BA44 #52C844
monochromatic
#402171 #5B2FA0 #7844C8 #9A73D6 #BCA3E4

Accessibility & contrast

On white

6.07
#7844C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7844C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844C8#FFFFFF#000000##FFFFFF
##7844C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#646380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7844c8;
/* rgb */ color: rgb(120, 68, 200);
/* oklch */ color: oklch(51.9% 0.195 297.2);
Tailwind
colors: {
  custom: {
    50: '#a57bda',
    500: '#7844c8',
    950: '#000000',
  },
}
SCSS
$custom: #7844c8;
$custom-light: #a57bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7844c8",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 200
  },
  "hsl": {
    "h": 263.636,
    "s": 54.545,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.19477,
    "h": 297.2
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#7844C8
secondary
#BAD197
accent
#DE4AA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844C8

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

Preview Lab → · Contrast checker → · Palette generator →

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