#7843D1#7843D1

#7843D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.206 H 295.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7843D1
RGBrgb(120, 67, 209)
HSLhsl(262, 61%, 54%)
HSVhsv(262, 68%, 82%)
CMYKcmyk(42.6%, 67.9%, 0%, 18%)
CIE-LABlab(42.17, 52.77, -65.14)
CIE-LCHlch(42.17, 83.83, 309.01°)
OKLaboklab(52.46% 0.0888 -0.1862)
OKLCHoklch(52.46% 0.206 295.5)
XYZxyz(21.2584, 12.6103, 61.6232)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D1 #9CD143
analogous
#4355D1 #7843D1 #BF43D1
triadic
#7843D1 #D17843 #43D178
tetradic
#7843D1 #D14355 #9CD143 #43D1BF
square
#7843D1 #D14355 #9CD143 #43D1BF
split-complementary
#7843D1 #D1BF43 #55D143
monochromatic
#411E7B #5B2AAD #7843D1 #9B74DD #BFA5E9

Accessibility & contrast

On white

5.96
#7843D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7843D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D1#FFFFFF#000000##FFFFFF
##7843D11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#606685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7843d1;
/* rgb */ color: rgb(120, 67, 209);
/* oklch */ color: oklch(52.5% 0.206 295.5);
Tailwind
colors: {
  custom: {
    50: '#a67be0',
    500: '#7843d1',
    950: '#000000',
  },
}
SCSS
$custom: #7843d1;
$custom-light: #a67be0;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d1",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 262.394,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.2063,
    "h": 295.5
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#7843D1
secondary
#C0D69A
accent
#E444A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7843D1

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

Preview Lab → · Contrast checker → · Palette generator →

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