#7844D2#7844D2

#7844D2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.206 H 295.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7844D2
RGBrgb(120, 68, 210)
HSLhsl(262, 61%, 55%)
HSVhsv(262, 68%, 82%)
CMYKcmyk(42.9%, 67.6%, 0%, 17.6%)
CIE-LABlab(42.43, 52.53, -65.29)
CIE-LCHlch(42.43, 83.80, 308.82°)
OKLaboklab(52.67% 0.0877 -0.1867)
OKLCHoklch(52.67% 0.206 295.2)
XYZxyz(21.4426, 12.7799, 62.2973)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844D2 #9ED244
analogous
#4457D2 #7844D2 #BF44D2
triadic
#7844D2 #D27844 #44D278
tetradic
#7844D2 #D24457 #9ED244 #44D2BF
square
#7844D2 #D24457 #9ED244 #44D2BF
split-complementary
#7844D2 #D2BF44 #57D244
monochromatic
#411E7D #5B2AAF #7844D2 #9C75DE #BFA7EA

Accessibility & contrast

On white

5.91
#7844D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7844D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844D2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844D2#FFFFFF#000000##FFFFFF
##7844D21.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#606686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7844d2;
/* rgb */ color: rgb(120, 68, 210);
/* oklch */ color: oklch(52.7% 0.206 295.2);
Tailwind
colors: {
  custom: {
    50: '#a67be1',
    500: '#7844d2',
    950: '#000000',
  },
}
SCSS
$custom: #7844d2;
$custom-light: #a67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7844d2",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 261.972,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.20623,
    "h": 295.2
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#7844D2
secondary
#C1D79B
accent
#E443A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844D2

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

Preview Lab → · Contrast checker → · Palette generator →

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