#7843BE#7843BE

#7843BE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.185 H 299.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7843BE
RGBrgb(120, 67, 190)
HSLhsl(266, 49%, 50%)
HSVhsv(266, 65%, 75%)
CMYKcmyk(36.8%, 64.7%, 0%, 25.5%)
CIE-LABlab(40.78, 47.86, -56.38)
CIE-LCHlch(40.78, 73.95, 310.33°)
OKLaboklab(51.02% 0.0912 -0.1604)
OKLCHoklch(51.02% 0.185 299.6)
XYZxyz(19.0449, 11.7249, 49.9650)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843BE #89BE43
analogous
#434BBE #7843BE #B643BE
triadic
#7843BE #BE7843 #43BE78
tetradic
#7843BE #BE434B #89BE43 #43BEB6
square
#7843BE #BE434B #89BE43 #43BEB6
split-complementary
#7843BE #BEB643 #4BBE43
monochromatic
#3F2364 #5B3291 #7843BE #9970CE #B99EDD

Accessibility & contrast

On white

6.28
#7843BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7843BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843BE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843BE#FFFFFF#000000##FFFFFF
##7843BE1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#685F7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7843be;
/* rgb */ color: rgb(120, 67, 190);
/* oklch */ color: oklch(51.0% 0.185 299.6);
Tailwind
colors: {
  custom: {
    50: '#a47ad2',
    500: '#7843be',
    950: '#000000',
  },
}
SCSS
$custom: #7843be;
$custom-light: #a47ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7843be",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 265.854,
    "s": 48.617,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.18454,
    "h": 299.6
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#7843BE
secondary
#B2CA93
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7843BE

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

Preview Lab → · Contrast checker → · Palette generator →

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