#7848DC#7848DC

#7848DC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.213 H 292.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7848DC
RGBrgb(120, 72, 220)
HSLhsl(259, 68%, 57%)
HSVhsv(259, 67%, 86%)
CMYKcmyk(45.5%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.94, 53.13, -68.57)
CIE-LCHlch(43.94, 86.75, 307.77°)
OKLaboklab(53.99% 0.0823 -0.1963)
OKLCHoklch(53.99% 0.213 292.7)
XYZxyz(22.9778, 13.7944, 69.1482)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848DC #ACDC48
analogous
#4862DC #7848DC #C248DC
triadic
#7848DC #DC7848 #48DC78
tetradic
#7848DC #DC4862 #ACDC48 #48DCC2
square
#7848DC #DC4862 #ACDC48 #48DCC2
split-complementary
#7848DC #DCC248 #62DC48
monochromatic
#411B8E #5825C2 #7848DC #9E7BE6 #C4AFF0

Accessibility & contrast

On white

5.59
#7848DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7848DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848DC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848DC#FFFFFF#000000##FFFFFF
##7848DC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#5A6C8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7848dc;
/* rgb */ color: rgb(120, 72, 220);
/* oklch */ color: oklch(54.0% 0.213 292.7);
Tailwind
colors: {
  custom: {
    50: '#a77ee8',
    500: '#7848dc',
    950: '#000000',
  },
}
SCSS
$custom: #7848dc;
$custom-light: #a77ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7848dc",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 259.459,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.21284,
    "h": 292.7
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#7848DC
secondary
#CADEA2
accent
#EB3DB2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7848DC

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

Preview Lab → · Contrast checker → · Palette generator →

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