#7843D3#7843D3

#7843D3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.209 H 295.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7843D3
RGBrgb(120, 67, 211)
HSLhsl(262, 62%, 55%)
HSVhsv(262, 68%, 83%)
CMYKcmyk(43.1%, 68.2%, 0%, 17.3%)
CIE-LABlab(42.32, 53.30, -66.04)
CIE-LCHlch(42.32, 84.87, 308.90°)
OKLaboklab(52.62% 0.0885 -0.1888)
OKLCHoklch(52.62% 0.209 295.1)
XYZxyz(21.5076, 12.7100, 62.9355)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D3 #9ED343
analogous
#4356D3 #7843D3 #C043D3
triadic
#7843D3 #D37843 #43D378
tetradic
#7843D3 #D34356 #9ED343 #43D3C0
square
#7843D3 #D34356 #9ED343 #43D3C0
split-complementary
#7843D3 #D3C043 #56D343
monochromatic
#411E7E #5B29B0 #7843D3 #9C75DF #BFA6EA

Accessibility & contrast

On white

5.93
#7843D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7843D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D3#FFFFFF#000000##FFFFFF
##7843D31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#5F6686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7843d3;
/* rgb */ color: rgb(120, 67, 211);
/* oklch */ color: oklch(52.6% 0.209 295.1);
Tailwind
colors: {
  custom: {
    50: '#a67be1',
    500: '#7843d3',
    950: '#000000',
  },
}
SCSS
$custom: #7843d3;
$custom-light: #a67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d3",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 211
  },
  "hsl": {
    "h": 262.083,
    "s": 62.069,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.20857,
    "h": 295.1
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#7843D3
secondary
#C1D79A
accent
#E543A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7843D3

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

Preview Lab → · Contrast checker → · Palette generator →

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