#7846E1#7846E1

#7846E1 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.221 H 292.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7846E1
RGBrgb(120, 70, 225)
HSLhsl(259, 72%, 58%)
HSVhsv(259, 69%, 88%)
CMYKcmyk(46.7%, 68.9%, 0%, 11.8%)
CIE-LABlab(43.96, 55.48, -71.39)
CIE-LCHlch(43.96, 90.41, 307.86°)
OKLaboklab(54.13% 0.0833 -0.2046)
OKLCHoklch(54.13% 0.221 292.2)
XYZxyz(23.5227, 13.8088, 72.6455)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7846E1 #AFE146
analogous
#4661E1 #7846E1 #C646E1
triadic
#7846E1 #E17846 #46E178
tetradic
#7846E1 #E14661 #AFE146 #46E1C6
square
#7846E1 #E14661 #AFE146 #46E1C6
split-complementary
#7846E1 #E1C646 #61E146
monochromatic
#401895 #5721C9 #7846E1 #9E7BEA #C5AFF2

Accessibility & contrast

On white

5.58
#7846E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7846E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7846E1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7846E1#FFFFFF#000000##FFFFFF
##7846E11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#586D8E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7846e1;
/* rgb */ color: rgb(120, 70, 225);
/* oklch */ color: oklch(54.1% 0.221 292.2);
Tailwind
colors: {
  custom: {
    50: '#a77deb',
    500: '#7846e1',
    950: '#000000',
  },
}
SCSS
$custom: #7846e1;
$custom-light: #a77deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7846e1",
  "rgb": {
    "r": 120,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 259.355,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.2209,
    "h": 292.2
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#7846E1
secondary
#CCE0A2
accent
#EF39B4
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7846E1

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

Preview Lab → · Contrast checker → · Palette generator →

#7846E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva