#7843C8#7843C8

#7843C8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.196 H 297.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7843C8
RGBrgb(120, 67, 200)
HSLhsl(264, 55%, 52%)
HSVhsv(264, 67%, 78%)
CMYKcmyk(40%, 66.5%, 0%, 21.6%)
CIE-LABlab(41.50, 50.43, -61.03)
CIE-LCHlch(41.50, 79.17, 309.57°)
OKLaboklab(51.77% 0.0901 -0.1741)
OKLCHoklch(51.77% 0.196 297.4)
XYZxyz(20.1755, 12.1772, 55.9198)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7843C8 #93C843
analogous
#4350C8 #7843C8 #BB43C8
triadic
#7843C8 #C87843 #43C878
tetradic
#7843C8 #C84350 #93C843 #43C8BB
square
#7843C8 #C84350 #93C843 #43C8BB
split-complementary
#7843C8 #C8BB43 #50C843
monochromatic
#402170 #5B2F9F #7843C8 #9A72D6 #BCA2E4

Accessibility & contrast

On white

6.11
#7843C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7843C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7843C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7843C8#FFFFFF#000000##FFFFFF
##7843C81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#646280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7843c8;
/* rgb */ color: rgb(120, 67, 200);
/* oklch */ color: oklch(51.8% 0.196 297.4);
Tailwind
colors: {
  custom: {
    50: '#a57bda',
    500: '#7843c8',
    950: '#000000',
  },
}
SCSS
$custom: #7843c8;
$custom-light: #a57bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7843c8",
  "rgb": {
    "r": 120,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 263.91,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.19605,
    "h": 297.4
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#7843C8
secondary
#B9D096
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7843C8

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

Preview Lab → · Contrast checker → · Palette generator →

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