#7843D4#7843D4

#7843D4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.210 H 294.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7843D4
RGBrgb(120, 67, 212)
HSLhsl(262, 63%, 55%)
HSVhsv(262, 68%, 83%)
CMYKcmyk(43.4%, 68.4%, 0%, 16.9%)
CIE-LABlab(42.40, 53.56, -66.49)
CIE-LCHlch(42.40, 85.38, 308.85°)
OKLaboklab(52.7% 0.0884 -0.1902)
OKLCHoklch(52.7% 0.21 294.9)
XYZxyz(21.6334, 12.7603, 63.5978)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D4 #9FD443
analogous
#4357D4 #7843D4 #C143D4
triadic
#7843D4 #D47843 #43D478
tetradic
#7843D4 #D44357 #9FD443 #43D4C1
square
#7843D4 #D44357 #9FD443 #43D4C1
split-complementary
#7843D4 #D4C143 #57D443
monochromatic
#411D7F #5B29B1 #7843D4 #9C75DF #C0A7EB

Accessibility & contrast

On white

5.91
#7843D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7843D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D4#FFFFFF#000000##FFFFFF
##7843D41.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#5F6786
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7843d4;
/* rgb */ color: rgb(120, 67, 212);
/* oklch */ color: oklch(52.7% 0.210 294.9);
Tailwind
colors: {
  custom: {
    50: '#a67be2',
    500: '#7843d4',
    950: '#000000',
  },
}
SCSS
$custom: #7843d4;
$custom-light: #a67be2;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d4",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 261.931,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.2097,
    "h": 294.9
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#7843D4
secondary
#C2D89B
accent
#E642AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7843D4

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

Preview Lab → · Contrast checker → · Palette generator →

#7843D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva