#7844D3#7844D3

#7844D3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.207 H 295.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7844D3
RGBrgb(120, 68, 211)
HSLhsl(262, 62%, 55%)
HSVhsv(262, 68%, 83%)
CMYKcmyk(43.1%, 67.8%, 0%, 17.3%)
CIE-LABlab(42.51, 52.79, -65.75)
CIE-LCHlch(42.51, 84.32, 308.76°)
OKLaboklab(52.75% 0.0875 -0.188)
OKLCHoklch(52.75% 0.207 295)
XYZxyz(21.5676, 12.8299, 62.9555)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7844D3 #9FD344
analogous
#4458D3 #7844D3 #BF44D3
triadic
#7844D3 #D37844 #44D378
tetradic
#7844D3 #D34458 #9FD344 #44D3BF
square
#7844D3 #D34458 #9FD344 #44D3BF
split-complementary
#7844D3 #D3BF44 #58D344
monochromatic
#411E7F #5B29B0 #7844D3 #9C76DF #C0A7EA

Accessibility & contrast

On white

5.89
#7844D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7844D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7844D3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7844D3#FFFFFF#000000##FFFFFF
##7844D31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#5F6786
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7844d3;
/* rgb */ color: rgb(120, 68, 211);
/* oklch */ color: oklch(52.8% 0.207 295.0);
Tailwind
colors: {
  custom: {
    50: '#a67be1',
    500: '#7844d3',
    950: '#000000',
  },
}
SCSS
$custom: #7844d3;
$custom-light: #a67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7844d3",
  "rgb": {
    "r": 120,
    "g": 68,
    "b": 211
  },
  "hsl": {
    "h": 261.818,
    "s": 61.905,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.20736,
    "h": 295
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#7844D3
secondary
#C2D89B
accent
#E543AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7844D3

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

Preview Lab → · Contrast checker → · Palette generator →

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