#7844E3#7844E3

#7844E3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.225 H 292.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7844E3
RGBrgb(120, 68, 227)
HSLhsl(260, 74%, 58%)
HSVhsv(260, 70%, 89%)
CMYKcmyk(47.1%, 70%, 0%, 11%)
CIE-LABlab(43.76, 57.01, -72.85)
CIE-LCHlch(43.76, 92.50, 308.05°)
OKLaboklab(54.04% 0.0848 -0.2088)
OKLCHoklch(54.04% 0.225 292.1)
XYZxyz(23.6741, 13.6725, 74.0498)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844E3 #AFE344
analogous
#445FE3 #7844E3 #C844E3
triadic
#7844E3 #E37844 #44E378
tetradic
#7844E3 #E3445F #AFE344 #44E3C8
square
#7844E3 #E3445F #AFE344 #44E3C8
split-complementary
#7844E3 #E3C844 #5FE344
monochromatic
#401696 #571ECB #7844E3 #9E79EB #C5AEF3

Accessibility & contrast

On white

5.62
#7844E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7844E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844E3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844E3#FFFFFF#000000##FFFFFF
##7844E31.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#566D8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7844e3;
/* rgb */ color: rgb(120, 68, 227);
/* oklch */ color: oklch(54.0% 0.225 292.1);
Tailwind
colors: {
  custom: {
    50: '#a87ced',
    500: '#7844e3',
    950: '#000000',
  },
}
SCSS
$custom: #7844e3;
$custom-light: #a87ced;
$custom-dark: #000000;
JSON
{
  "hex": "#7844e3",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 227
  },
  "hsl": {
    "h": 259.623,
    "s": 73.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.22541,
    "h": 292.1
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#7844E3
secondary
#CCE1A2
accent
#F137B4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7844E3

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

Preview Lab → · Contrast checker → · Palette generator →

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