#7848E6#7848E6

#7848E6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.224 H 291.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7848E6
RGBrgb(120, 72, 230)
HSLhsl(258, 76%, 59%)
HSVhsv(258, 69%, 90%)
CMYKcmyk(47.8%, 68.7%, 0%, 9.8%)
CIE-LABlab(44.72, 55.81, -72.99)
CIE-LCHlch(44.72, 91.88, 307.41°)
OKLaboklab(54.79% 0.0807 -0.2093)
OKLCHoklch(54.79% 0.224 291.1)
XYZxyz(24.3420, 14.3401, 76.3329)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848E6 #B6E648
analogous
#4867E6 #7848E6 #C748E6
triadic
#7848E6 #E67848 #48E678
tetradic
#7848E6 #E64867 #B6E648 #48E6C7
square
#7848E6 #E64867 #B6E648 #48E6C7
split-complementary
#7848E6 #E6C748 #67E648
monochromatic
#3F169E #551DD4 #7848E6 #A07EED #C7B4F5

Accessibility & contrast

On white

5.43
#7848E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7848E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848E6#FFFFFF#000000##FFFFFF
##7848E61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7848e6;
/* rgb */ color: rgb(120, 72, 230);
/* oklch */ color: oklch(54.8% 0.224 291.1);
Tailwind
colors: {
  custom: {
    50: '#a87eef',
    500: '#7848e6',
    950: '#000000',
  },
}
SCSS
$custom: #7848e6;
$custom-light: #a87eef;
$custom-dark: #000000;
JSON
{
  "hex": "#7848e6",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 258.228,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.22427,
    "h": 291.1
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#7848E6
secondary
#D1E4A6
accent
#F335B9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7848E6

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

Preview Lab → · Contrast checker → · Palette generator →

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