#7843C3#7843C3

#7843C3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.190 H 298.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7843C3
RGBrgb(120, 67, 195)
HSLhsl(265, 52%, 51%)
HSVhsv(265, 66%, 76%)
CMYKcmyk(38.5%, 65.6%, 0%, 23.5%)
CIE-LABlab(41.13, 49.14, -58.72)
CIE-LCHlch(41.13, 76.57, 309.93°)
OKLaboklab(51.39% 0.0907 -0.1673)
OKLCHoklch(51.39% 0.19 298.5)
XYZxyz(19.6007, 11.9472, 52.8926)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843C3 #8EC343
analogous
#434EC3 #7843C3 #B843C3
triadic
#7843C3 #C37843 #43C378
tetradic
#7843C3 #C3434E #8EC343 #43C3B8
square
#7843C3 #C3434E #8EC343 #43C3B8
split-complementary
#7843C3 #C3B843 #4EC343
monochromatic
#40226A #5B3198 #7843C3 #9971D2 #BBA0E1

Accessibility & contrast

On white

6.20
#7843C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7843C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843C3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843C3#FFFFFF#000000##FFFFFF
##7843C31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#66607D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7843c3;
/* rgb */ color: rgb(120, 67, 195);
/* oklch */ color: oklch(51.4% 0.190 298.5);
Tailwind
colors: {
  custom: {
    50: '#a47ad6',
    500: '#7843c3',
    950: '#000000',
  },
}
SCSS
$custom: #7843c3;
$custom-light: #a47ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#7843c3",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 264.844,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.1903,
    "h": 298.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#7843C3
secondary
#B6CD95
accent
#DB4DA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7843C3

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

Preview Lab → · Contrast checker → · Palette generator →

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