#7844BB#7844BB

#7844BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.180 H 300.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7844BB
RGBrgb(120, 68, 187)
HSLhsl(266, 47%, 50%)
HSVhsv(266, 64%, 73%)
CMYKcmyk(35.8%, 63.6%, 0%, 26.7%)
CIE-LABlab(40.76, 46.57, -54.64)
CIE-LCHlch(40.76, 71.80, 310.44°)
OKLaboklab(50.94% 0.0903 -0.1553)
OKLCHoklch(50.94% 0.18 300.2)
XYZxyz(18.7803, 11.7150, 48.2759)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844BB #87BB44
analogous
#444CBB #7844BB #B344BB
triadic
#7844BB #BB7844 #44BB78
tetradic
#7844BB #BB444C #87BB44 #44BBB3
square
#7844BB #BB444C #87BB44 #44BBB3
split-complementary
#7844BB #BBB344 #4CBB44
monochromatic
#3E2361 #5B348E #7844BB #9871CB #B99EDC

Accessibility & contrast

On white

6.28
#7844BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7844BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844BB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844BB#FFFFFF#000000##FFFFFF
##7844BB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#115FB8
Tritanopia (blue-blind)
#695E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7844bb;
/* rgb */ color: rgb(120, 68, 187);
/* oklch */ color: oklch(50.9% 0.180 300.2);
Tailwind
colors: {
  custom: {
    50: '#a47bd0',
    500: '#7844bb',
    950: '#000000',
  },
}
SCSS
$custom: #7844bb;
$custom-light: #a47bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7844bb",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 187
  },
  "hsl": {
    "h": 266.218,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.17968,
    "h": 300.2
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#7844BB
secondary
#B1C893
accent
#D6519C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7844BB

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

Preview Lab → · Contrast checker → · Palette generator →

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