#7843D5#7843D5

#7843D5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.211 H 294.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7843D5
RGBrgb(120, 67, 213)
HSLhsl(262, 63%, 55%)
HSVhsv(262, 69%, 84%)
CMYKcmyk(43.7%, 68.5%, 0%, 16.5%)
CIE-LABlab(42.48, 53.82, -66.94)
CIE-LCHlch(42.48, 85.89, 308.80°)
OKLaboklab(52.78% 0.0882 -0.1915)
OKLCHoklch(52.78% 0.211 294.7)
XYZxyz(21.7599, 12.8109, 64.2642)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D5 #A0D543
analogous
#4357D5 #7843D5 #C143D5
triadic
#7843D5 #D57843 #43D578
tetradic
#7843D5 #D54357 #A0D543 #43D5C1
square
#7843D5 #D54357 #A0D543 #43D5C1
split-complementary
#7843D5 #D5C143 #57D543
monochromatic
#411D81 #5A28B3 #7843D5 #9C75E0 #C0A7EB

Accessibility & contrast

On white

5.90
#7843D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7843D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D5#FFFFFF#000000##FFFFFF
##7843D51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7843d5;
/* rgb */ color: rgb(120, 67, 213);
/* oklch */ color: oklch(52.8% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#a67be3',
    500: '#7843d5',
    950: '#000000',
  },
}
SCSS
$custom: #7843d5;
$custom-light: #a67be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d5",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 261.781,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.21084,
    "h": 294.7
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7843D5

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

Preview Lab → · Contrast checker → · Palette generator →

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