#7847CA#7847CA

#7847CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.193 H 296.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7847CA
RGBrgb(120, 71, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 65%, 79%)
CMYKcmyk(40.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.40, 48.87, -60.72)
CIE-LCHlch(42.40, 77.94, 308.83°)
OKLaboklab(52.47% 0.0856 -0.1732)
OKLCHoklch(52.47% 0.193 296.3)
XYZxyz(20.6569, 12.7634, 57.2409)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847CA #99CA47
analogous
#4757CA #7847CA #B947CA
triadic
#7847CA #CA7847 #47CA78
tetradic
#7847CA #CA4757 #99CA47 #47CAB9
square
#7847CA #CA4757 #99CA47 #47CAB9
split-complementary
#7847CA #CAB947 #57CA47
monochromatic
#412275 #5B2FA4 #7847CA #9B77D8 #BEA6E5

Accessibility & contrast

On white

5.91
#7847CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7847CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847CA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847CA#FFFFFF#000000##FFFFFF
##7847CA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#636582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7847ca;
/* rgb */ color: rgb(120, 71, 202);
/* oklch */ color: oklch(52.5% 0.193 296.3);
Tailwind
colors: {
  custom: {
    50: '#a57ddb',
    500: '#7847ca',
    950: '#000000',
  },
}
SCSS
$custom: #7847ca;
$custom-light: #a57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7847ca",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 262.443,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.1932,
    "h": 296.3
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#7847CA
secondary
#BDD29A
accent
#DF49A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7847CA

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

Preview Lab → · Contrast checker → · Palette generator →

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