#7841CD#7841CD

#7841CD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.204 H 296.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7841CD
RGBrgb(120, 65, 205)
HSLhsl(264, 58%, 53%)
HSVhsv(264, 68%, 80%)
CMYKcmyk(41.5%, 68.3%, 0%, 19.6%)
CIE-LABlab(41.50, 52.74, -63.92)
CIE-LCHlch(41.50, 82.87, 309.53°)
OKLaboklab(51.89% 0.0915 -0.1826)
OKLCHoklch(51.89% 0.204 296.6)
XYZxyz(20.6526, 12.1810, 59.0088)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7841CD #96CD41
analogous
#4150CD #7841CD #BE41CD
triadic
#7841CD #CD7841 #41CD78
tetradic
#7841CD #CD4150 #96CD41 #41CDBE
square
#7841CD #CD4150 #96CD41 #41CDBE
split-complementary
#7841CD #CDBE41 #50CD41
monochromatic
#411F75 #5B2CA5 #7841CD #9A71DA #BDA2E6

Accessibility & contrast

On white

6.11
#7841CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7841CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7841CD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7841CD#FFFFFF#000000##FFFFFF
##7841CD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7841cd;
/* rgb */ color: rgb(120, 65, 205);
/* oklch */ color: oklch(51.9% 0.204 296.6);
Tailwind
colors: {
  custom: {
    50: '#a67add',
    500: '#7841cd',
    950: '#000000',
  },
}
SCSS
$custom: #7841cd;
$custom-light: #a67add;
$custom-dark: #000000;
JSON
{
  "hex": "#7841cd",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 263.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.20422,
    "h": 296.6
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7841CD

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

Preview Lab → · Contrast checker → · Palette generator →

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