#7841DE#7841DE

#7841DE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.223 H 293.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7841DE
RGBrgb(120, 65, 222)
HSLhsl(261, 70%, 56%)
HSVhsv(261, 71%, 87%)
CMYKcmyk(45.9%, 70.7%, 0%, 12.9%)
CIE-LABlab(42.83, 57.16, -71.51)
CIE-LCHlch(42.83, 91.55, 308.63°)
OKLaboklab(53.25% 0.0884 -0.2049)
OKLCHoklch(53.25% 0.223 293.3)
XYZxyz(22.8172, 13.0469, 70.4092)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7841DE #A7DE41
analogous
#4159DE #7841DE #C741DE
triadic
#7841DE #DE7841 #41DE78
tetradic
#7841DE #DE4159 #A7DE41 #41DEC7
square
#7841DE #DE4159 #A7DE41 #41DEC7
split-complementary
#7841DE #DEC741 #59DE41
monochromatic
#41188C #5921C0 #7841DE #9D75E7 #C2A9F0

Accessibility & contrast

On white

5.82
#7841DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7841DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7841DE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7841DE#FFFFFF#000000##FFFFFF
##7841DE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#5A698B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7841de;
/* rgb */ color: rgb(120, 65, 222);
/* oklch */ color: oklch(53.3% 0.223 293.3);
Tailwind
colors: {
  custom: {
    50: '#a77ae9',
    500: '#7841de',
    950: '#000000',
  },
}
SCSS
$custom: #7841de;
$custom-light: #a77ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7841de",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 261.019,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.22318,
    "h": 293.3
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#7841DE
secondary
#C7DE9D
accent
#ED3BAF
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7841DE

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

Preview Lab → · Contrast checker → · Palette generator →

#7841DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva