#7843D0#7843D0

#7843D0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.205 H 295.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7843D0
RGBrgb(120, 67, 208)
HSLhsl(263, 60%, 54%)
HSVhsv(263, 68%, 82%)
CMYKcmyk(42.3%, 67.8%, 0%, 18.4%)
CIE-LABlab(42.09, 52.51, -64.69)
CIE-LCHlch(42.09, 83.32, 309.07°)
OKLaboklab(52.39% 0.089 -0.1849)
OKLCHoklch(52.39% 0.205 295.7)
XYZxyz(21.1350, 12.5610, 60.9732)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D0 #9BD043
analogous
#4355D0 #7843D0 #BF43D0
triadic
#7843D0 #D07843 #43D078
tetradic
#7843D0 #D04355 #9BD043 #43D0BF
square
#7843D0 #D04355 #9BD043 #43D0BF
split-complementary
#7843D0 #D0BF43 #55D043
monochromatic
#411F7A #5B2BAB #7843D0 #9B74DC #BEA5E8

Accessibility & contrast

On white

5.98
#7843D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7843D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D0#FFFFFF#000000##FFFFFF
##7843D01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#616584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7843d0;
/* rgb */ color: rgb(120, 67, 208);
/* oklch */ color: oklch(52.4% 0.205 295.7);
Tailwind
colors: {
  custom: {
    50: '#a67bdf',
    500: '#7843d0',
    950: '#000000',
  },
}
SCSS
$custom: #7843d0;
$custom-light: #a67bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d0",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 208
  },
  "hsl": {
    "h": 262.553,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.20517,
    "h": 295.7
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#7843D0
secondary
#BFD599
accent
#E345A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7843D0

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

Preview Lab → · Contrast checker → · Palette generator →

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