#7848D8#7848D8

#7848D8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.208 H 293.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7848D8
RGBrgb(120, 72, 216)
HSLhsl(260, 65%, 56%)
HSVhsv(260, 67%, 85%)
CMYKcmyk(44.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(43.63, 52.06, -66.78)
CIE-LCHlch(43.63, 84.68, 307.94°)
OKLaboklab(53.68% 0.0828 -0.191)
OKLCHoklch(53.68% 0.208 293.4)
XYZxyz(22.4544, 13.5850, 66.3915)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D8 #A8D848
analogous
#4860D8 #7848D8 #C048D8
triadic
#7848D8 #D87848 #48D878
tetradic
#7848D8 #D84860 #A8D848 #48D8C0
square
#7848D8 #D84860 #A8D848 #48D8C0
split-complementary
#7848D8 #D8C048 #60D848
monochromatic
#411D89 #5928BB #7848D8 #9D7AE3 #C2ADEE

Accessibility & contrast

On white

5.65
#7848D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7848D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D8#FFFFFF#000000##FFFFFF
##7848D81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#5C6B8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7848d8;
/* rgb */ color: rgb(120, 72, 216);
/* oklch */ color: oklch(53.7% 0.208 293.4);
Tailwind
colors: {
  custom: {
    50: '#a67ee5',
    500: '#7848d8',
    950: '#000000',
  },
}
SCSS
$custom: #7848d8;
$custom-light: #a67ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d8",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 260,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.20822,
    "h": 293.4
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#7848D8
secondary
#C8DBA0
accent
#E840B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7848D8

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

Preview Lab → · Contrast checker → · Palette generator →

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