#7847C8#7847C8

#7847C8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.191 H 296.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7847C8
RGBrgb(120, 71, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(40%, 64.5%, 0%, 21.6%)
CIE-LABlab(42.26, 48.35, -59.79)
CIE-LCHlch(42.26, 76.89, 308.96°)
OKLaboklab(52.32% 0.0858 -0.1705)
OKLCHoklch(52.32% 0.191 296.7)
XYZxyz(20.4216, 12.6693, 56.0019)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847C8 #97C847
analogous
#4756C8 #7847C8 #B947C8
triadic
#7847C8 #C87847 #47C878
tetradic
#7847C8 #C84756 #97C847 #47C8B9
square
#7847C8 #C84756 #97C847 #47C8B9
split-complementary
#7847C8 #C8B947 #56C847
monochromatic
#412272 #5B30A2 #7847C8 #9B76D6 #BDA5E4

Accessibility & contrast

On white

5.94
#7847C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7847C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847C8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847C8#FFFFFF#000000##FFFFFF
##7847C81.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#646581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7847c8;
/* rgb */ color: rgb(120, 71, 200);
/* oklch */ color: oklch(52.3% 0.191 296.7);
Tailwind
colors: {
  custom: {
    50: '#a57dda',
    500: '#7847c8',
    950: '#000000',
  },
}
SCSS
$custom: #7847c8;
$custom-light: #a57dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7847c8",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 262.791,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.19086,
    "h": 296.7
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#7847C8
secondary
#BCD19A
accent
#DD4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7847C8

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

Preview Lab → · Contrast checker → · Palette generator →

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