#7843D6#7843D6

#7843D6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.212 H 294.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7843D6
RGBrgb(120, 67, 214)
HSLhsl(262, 64%, 55%)
HSVhsv(262, 69%, 84%)
CMYKcmyk(43.9%, 68.7%, 0%, 16.1%)
CIE-LABlab(42.55, 54.08, -67.39)
CIE-LCHlch(42.55, 86.41, 308.75°)
OKLaboklab(52.86% 0.088 -0.1928)
OKLCHoklch(52.86% 0.212 294.5)
XYZxyz(21.8872, 12.8618, 64.9347)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D6 #A1D643
analogous
#4357D6 #7843D6 #C243D6
triadic
#7843D6 #D67843 #43D678
tetradic
#7843D6 #D64357 #A1D643 #43D6C2
square
#7843D6 #D64357 #A1D643 #43D6C2
split-complementary
#7843D6 #D6C243 #57D643
monochromatic
#411C82 #5A27B4 #7843D6 #9C75E1 #C0A7EC

Accessibility & contrast

On white

5.88
#7843D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7843D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D6#FFFFFF#000000##FFFFFF
##7843D61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#5E6787
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7843d6;
/* rgb */ color: rgb(120, 67, 214);
/* oklch */ color: oklch(52.9% 0.212 294.5);
Tailwind
colors: {
  custom: {
    50: '#a67be4',
    500: '#7843d6',
    950: '#000000',
  },
}
SCSS
$custom: #7843d6;
$custom-light: #a67be4;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d6",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 261.633,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.21196,
    "h": 294.5
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#7843D6
secondary
#C3D99C
accent
#E741AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7843D6

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

Preview Lab → · Contrast checker → · Palette generator →

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