#7848E7#7848E7

#7848E7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.225 H 290.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7848E7
RGBrgb(120, 72, 231)
HSLhsl(258, 77%, 59%)
HSVhsv(258, 69%, 91%)
CMYKcmyk(48.1%, 68.8%, 0%, 9.4%)
CIE-LABlab(44.80, 56.08, -73.42)
CIE-LCHlch(44.80, 92.39, 307.37°)
OKLaboklab(54.87% 0.0805 -0.2105)
OKLCHoklch(54.87% 0.225 290.9)
XYZxyz(24.4828, 14.3964, 77.0746)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848E7 #B7E748
analogous
#4868E7 #7848E7 #C848E7
triadic
#7848E7 #E77848 #48E778
tetradic
#7848E7 #E74868 #B7E748 #48E7C8
square
#7848E7 #E74868 #B7E748 #48E7C8
split-complementary
#7848E7 #E7C848 #68E748
monochromatic
#3F15A0 #541CD6 #7848E7 #A07EEE #C8B4F5

Accessibility & contrast

On white

5.41
#7848E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7848E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848E7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848E7#FFFFFF#000000##FFFFFF
##7848E71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#547092
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7848e7;
/* rgb */ color: rgb(120, 72, 231);
/* oklch */ color: oklch(54.9% 0.225 290.9);
Tailwind
colors: {
  custom: {
    50: '#a87ff0',
    500: '#7848e7',
    950: '#000000',
  },
}
SCSS
$custom: #7848e7;
$custom-light: #a87ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7848e7",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 258.113,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.22541,
    "h": 290.9
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#7848E7
secondary
#D2E4A6
accent
#F334BA
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7848E7

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

Preview Lab → · Contrast checker → · Palette generator →

#7848E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva