#7844CE#7844CE

#7844CE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.202 H 296.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7844CE
RGBrgb(120, 68, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(41.7%, 67%, 0%, 19.2%)
CIE-LABlab(42.13, 51.48, -63.48)
CIE-LCHlch(42.13, 81.73, 309.04°)
OKLaboklab(52.36% 0.0883 -0.1813)
OKLCHoklch(52.36% 0.202 296)
XYZxyz(20.9505, 12.5831, 59.7055)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844CE #9ACE44
analogous
#4455CE #7844CE #BD44CE
triadic
#7844CE #CE7844 #44CE78
tetradic
#7844CE #CE4455 #9ACE44 #44CEBD
square
#7844CE #CE4455 #9ACE44 #44CEBD
split-complementary
#7844CE #CEBD44 #55CE44
monochromatic
#411F78 #5B2CA9 #7844CE #9B74DB #BEA5E7

Accessibility & contrast

On white

5.97
#7844CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7844CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844CE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844CE#FFFFFF#000000##FFFFFF
##7844CE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#626583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7844ce;
/* rgb */ color: rgb(120, 68, 206);
/* oklch */ color: oklch(52.4% 0.202 296.0);
Tailwind
colors: {
  custom: {
    50: '#a57bde',
    500: '#7844ce',
    950: '#000000',
  },
}
SCSS
$custom: #7844ce;
$custom-light: #a57bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7844ce",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 206
  },
  "hsl": {
    "h": 262.609,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.20166,
    "h": 296
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#7844CE
secondary
#BED499
accent
#E246A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844CE

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

Preview Lab → · Contrast checker → · Palette generator →

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