#7843AE#7843AE

#7843AE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.166 H 303.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7843AE
RGBrgb(120, 67, 174)
HSLhsl(270, 44%, 47%)
HSVhsv(270, 61%, 68%)
CMYKcmyk(31%, 61.5%, 0%, 31.8%)
CIE-LABlab(39.69, 43.83, -48.71)
CIE-LCHlch(39.69, 65.52, 311.98°)
OKLaboklab(49.89% 0.0922 -0.1379)
OKLCHoklch(49.89% 0.166 303.8)
XYZxyz(17.3911, 11.0634, 41.2554)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843AE #79AE43
analogous
#4343AE #7843AE #AE43AE
triadic
#7843AE #AE7843 #43AE78
tetradic
#7843AE #AE4343 #79AE43 #43AEAE
square
#7843AE #AE4343 #79AE43 #43AEAE
split-complementary
#7843AE #AEAE43 #43AE43
monochromatic
#3B2156 #5A3282 #7843AE #9769C5 #B595D6

Accessibility & contrast

On white

6.54
#7843AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7843AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843AE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843AE#FFFFFF#000000##FFFFFF
##7843AE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB1
Deuteranopia (green-blind)
#285DAC
Tritanopia (blue-blind)
#6E5972
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7843ae;
/* rgb */ color: rgb(120, 67, 174);
/* oklch */ color: oklch(49.9% 0.166 303.8);
Tailwind
colors: {
  custom: {
    50: '#a37ac7',
    500: '#7843ae',
    950: '#000000',
  },
}
SCSS
$custom: #7843ae;
$custom-light: #a37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7843ae",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 269.72,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.16591,
    "h": 303.8
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#7843AE
secondary
#A7C28B
accent
#D45494
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7843AE

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

Preview Lab → · Contrast checker → · Palette generator →

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