#7844BF#7844BF

#7844BF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.184 H 299.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7844BF
RGBrgb(120, 68, 191)
HSLhsl(265, 49%, 51%)
HSVhsv(265, 64%, 75%)
CMYKcmyk(37.2%, 64.4%, 0%, 25.1%)
CIE-LABlab(41.04, 47.59, -56.53)
CIE-LCHlch(41.04, 73.90, 310.09°)
OKLaboklab(51.24% 0.09 -0.1609)
OKLCHoklch(51.24% 0.184 299.2)
XYZxyz(19.2145, 11.8887, 50.5625)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844BF #8BBF44
analogous
#444DBF #7844BF #B544BF
triadic
#7844BF #BF7844 #44BF78
tetradic
#7844BF #BF444D #8BBF44 #44BFB5
square
#7844BF #BF444D #8BBF44 #44BFB5
split-complementary
#7844BF #BFB544 #4DBF44
monochromatic
#3F2366 #5B3293 #7844BF #9972CF #BA9FDE

Accessibility & contrast

On white

6.22
#7844BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7844BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844BF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844BF#FFFFFF#000000##FFFFFF
##7844BF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#68607B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7844bf;
/* rgb */ color: rgb(120, 68, 191);
/* oklch */ color: oklch(51.2% 0.184 299.2);
Tailwind
colors: {
  custom: {
    50: '#a47bd3',
    500: '#7844bf',
    950: '#000000',
  },
}
SCSS
$custom: #7844bf;
$custom-light: #a47bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7844bf",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 191
  },
  "hsl": {
    "h": 265.366,
    "s": 49.004,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.18435,
    "h": 299.2
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#7844BF
secondary
#B4CB94
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7844BF

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

Preview Lab → · Contrast checker → · Palette generator →

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