#7841CE#7841CE

#7841CE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.205 H 296.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7841CE
RGBrgb(120, 65, 206)
HSLhsl(263, 59%, 53%)
HSVhsv(263, 68%, 81%)
CMYKcmyk(41.7%, 68.4%, 0%, 19.2%)
CIE-LABlab(41.58, 53.00, -64.37)
CIE-LCHlch(41.58, 83.38, 309.46°)
OKLaboklab(51.97% 0.0913 -0.1839)
OKLCHoklch(51.97% 0.205 296.4)
XYZxyz(20.7737, 12.2295, 59.6466)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7841CE #97CE41
analogous
#4150CE #7841CE #BE41CE
triadic
#7841CE #CE7841 #41CE78
tetradic
#7841CE #CE4150 #97CE41 #41CEBE
square
#7841CE #CE4150 #97CE41 #41CEBE
split-complementary
#7841CE #CEBE41 #50CE41
monochromatic
#411E76 #5B2BA7 #7841CE #9B72DB #BDA2E7

Accessibility & contrast

On white

6.09
#7841CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7841CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7841CE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7841CE#FFFFFF#000000##FFFFFF
##7841CE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#626382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7841ce;
/* rgb */ color: rgb(120, 65, 206);
/* oklch */ color: oklch(52.0% 0.205 296.4);
Tailwind
colors: {
  custom: {
    50: '#a67ade',
    500: '#7841ce',
    950: '#000000',
  },
}
SCSS
$custom: #7841ce;
$custom-light: #a67ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7841ce",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 263.404,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.20535,
    "h": 296.4
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#7841CE
secondary
#BCD497
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7841CE

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

Preview Lab → · Contrast checker → · Palette generator →

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