#7843BD#7843BD

#7843BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.183 H 299.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7843BD
RGBrgb(120, 67, 189)
HSLhsl(266, 48%, 50%)
HSVhsv(266, 65%, 74%)
CMYKcmyk(36.5%, 64.6%, 0%, 25.9%)
CIE-LABlab(40.70, 47.61, -55.90)
CIE-LCHlch(40.70, 73.43, 310.42°)
OKLaboklab(50.95% 0.0913 -0.159)
OKLCHoklch(50.95% 0.183 299.9)
XYZxyz(18.9359, 11.6813, 49.3913)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843BD #88BD43
analogous
#434BBD #7843BD #B543BD
triadic
#7843BD #BD7843 #43BD78
tetradic
#7843BD #BD434B #88BD43 #43BDB5
square
#7843BD #BD434B #88BD43 #43BDB5
split-complementary
#7843BD #BDB543 #4BBD43
monochromatic
#3F2363 #5B3390 #7843BD #9970CD #B99EDD

Accessibility & contrast

On white

6.29
#7843BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7843BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843BD#FFFFFF#000000##FFFFFF
##7843BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#695E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7843bd;
/* rgb */ color: rgb(120, 67, 189);
/* oklch */ color: oklch(50.9% 0.183 299.9);
Tailwind
colors: {
  custom: {
    50: '#a47ad2',
    500: '#7843bd',
    950: '#000000',
  },
}
SCSS
$custom: #7843bd;
$custom-light: #a47ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7843bd",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 266.066,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.18338,
    "h": 299.9
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7843BD

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

Preview Lab → · Contrast checker → · Palette generator →

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