#7844BC#7844BC

#7844BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.181 H 299.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7844BC
RGBrgb(120, 68, 188)
HSLhsl(266, 47%, 50%)
HSVhsv(266, 64%, 74%)
CMYKcmyk(36.2%, 63.8%, 0%, 26.3%)
CIE-LABlab(40.83, 46.82, -55.12)
CIE-LCHlch(40.83, 72.32, 310.35°)
OKLaboklab(51.02% 0.0902 -0.1567)
OKLCHoklch(51.02% 0.181 299.9)
XYZxyz(18.8877, 11.7580, 48.8416)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844BC #88BC44
analogous
#444CBC #7844BC #B444BC
triadic
#7844BC #BC7844 #44BC78
tetradic
#7844BC #BC444C #88BC44 #44BCB4
square
#7844BC #BC444C #88BC44 #44BCB4
split-complementary
#7844BC #BCB444 #4CBC44
monochromatic
#3F2362 #5B338F #7844BC #9971CC #B99EDC

Accessibility & contrast

On white

6.27
#7844BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7844BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844BC#FFFFFF#000000##FFFFFF
##7844BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#695F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7844bc;
/* rgb */ color: rgb(120, 68, 188);
/* oklch */ color: oklch(51.0% 0.181 299.9);
Tailwind
colors: {
  custom: {
    50: '#a47bd1',
    500: '#7844bc',
    950: '#000000',
  },
}
SCSS
$custom: #7844bc;
$custom-light: #a47bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7844bc",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 188
  },
  "hsl": {
    "h": 266,
    "s": 47.244,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.18086,
    "h": 299.9
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#7844BC
secondary
#B1C993
accent
#D7519D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7844BC

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

Preview Lab → · Contrast checker → · Palette generator →

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