#7844CA#7844CA

#7844CA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.197 H 296.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7844CA
RGBrgb(120, 68, 202)
HSLhsl(263, 56%, 53%)
HSVhsv(263, 66%, 79%)
CMYKcmyk(40.6%, 66.3%, 0%, 20.8%)
CIE-LABlab(41.83, 50.44, -61.65)
CIE-LCHlch(41.83, 79.65, 309.29°)
OKLaboklab(52.06% 0.0888 -0.1759)
OKLCHoklch(52.06% 0.197 296.8)
XYZxyz(20.4708, 12.3912, 57.1789)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844CA #96CA44
analogous
#4453CA #7844CA #BB44CA
triadic
#7844CA #CA7844 #44CA78
tetradic
#7844CA #CA4453 #96CA44 #44CABB
square
#7844CA #CA4453 #96CA44 #44CABB
split-complementary
#7844CA #CABB44 #53CA44
monochromatic
#412173 #5B2EA3 #7844CA #9A74D8 #BDA3E5

Accessibility & contrast

On white

6.04
#7844CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7844CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844CA#FFFFFF#000000##FFFFFF
##7844CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#636481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7844ca;
/* rgb */ color: rgb(120, 68, 202);
/* oklch */ color: oklch(52.1% 0.197 296.8);
Tailwind
colors: {
  custom: {
    50: '#a57bdb',
    500: '#7844ca',
    950: '#000000',
  },
}
SCSS
$custom: #7844ca;
$custom-light: #a57bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7844ca",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 263.284,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.19707,
    "h": 296.8
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#7844CA
secondary
#BBD298
accent
#DF49A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844CA

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

Preview Lab → · Contrast checker → · Palette generator →

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