#7843D2#7843D2

#7843D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.207 H 295.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7843D2
RGBrgb(120, 67, 210)
HSLhsl(262, 61%, 54%)
HSVhsv(262, 68%, 82%)
CMYKcmyk(42.9%, 68.1%, 0%, 17.6%)
CIE-LABlab(42.25, 53.03, -65.59)
CIE-LCHlch(42.25, 84.35, 308.96°)
OKLaboklab(52.54% 0.0887 -0.1875)
OKLCHoklch(52.54% 0.207 295.3)
XYZxyz(21.3826, 12.6600, 62.2773)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843D2 #9DD243
analogous
#4356D2 #7843D2 #C043D2
triadic
#7843D2 #D27843 #43D278
tetradic
#7843D2 #D24356 #9DD243 #43D2C0
square
#7843D2 #D24356 #9DD243 #43D2C0
split-complementary
#7843D2 #D2C043 #56D243
monochromatic
#411E7D #5B2AAE #7843D2 #9B74DE #BFA6EA

Accessibility & contrast

On white

5.95
#7843D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7843D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843D2#FFFFFF#000000##FFFFFF
##7843D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#606685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7843d2;
/* rgb */ color: rgb(120, 67, 210);
/* oklch */ color: oklch(52.5% 0.207 295.3);
Tailwind
colors: {
  custom: {
    50: '#a67be1',
    500: '#7843d2',
    950: '#000000',
  },
}
SCSS
$custom: #7843d2;
$custom-light: #a67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7843d2",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 262.238,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.20744,
    "h": 295.3
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#7843D2
secondary
#C0D79A
accent
#E443A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7843D2

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

Preview Lab → · Contrast checker → · Palette generator →

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