#7848D7#7848D7

#7848D7 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.207 H 293.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7848D7
RGBrgb(120, 72, 215)
HSLhsl(260, 64%, 56%)
HSVhsv(260, 67%, 84%)
CMYKcmyk(44.2%, 66.5%, 0%, 15.7%)
CIE-LABlab(43.56, 51.79, -66.33)
CIE-LCHlch(43.56, 84.16, 307.98°)
OKLaboklab(53.6% 0.083 -0.1897)
OKLCHoklch(53.6% 0.207 293.6)
XYZxyz(22.3255, 13.5335, 65.7127)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D7 #A7D748
analogous
#4860D7 #7848D7 #C048D7
triadic
#7848D7 #D77848 #48D778
tetradic
#7848D7 #D74860 #A7D748 #48D7C0
square
#7848D7 #D74860 #A7D748 #48D7C0
split-complementary
#7848D7 #D7C048 #60D748
monochromatic
#411E87 #5929B9 #7848D7 #9D7AE2 #C2ACED

Accessibility & contrast

On white

5.67
#7848D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7848D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D7#FFFFFF#000000##FFFFFF
##7848D71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#5D6B8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7848d7;
/* rgb */ color: rgb(120, 72, 215);
/* oklch */ color: oklch(53.6% 0.207 293.6);
Tailwind
colors: {
  custom: {
    50: '#a67ee4',
    500: '#7848d7',
    950: '#000000',
  },
}
SCSS
$custom: #7848d7;
$custom-light: #a67ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d7",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 260.14,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.20707,
    "h": 293.6
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#7848D7
secondary
#C7DBA0
accent
#E741AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7848D7

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

Preview Lab → · Contrast checker → · Palette generator →

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