#7848CE#7848CE

#7848CE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.197 H 295.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7848CE
RGBrgb(120, 72, 206)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 65%, 81%)
CMYKcmyk(41.7%, 65%, 0%, 19.2%)
CIE-LABlab(42.89, 49.40, -62.24)
CIE-LCHlch(42.89, 79.46, 308.44°)
OKLaboklab(52.91% 0.0841 -0.1777)
OKLCHoklch(52.91% 0.197 295.3)
XYZxyz(21.2007, 13.0835, 59.7889)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848CE #9ECE48
analogous
#485BCE #7848CE #BB48CE
triadic
#7848CE #CE7848 #48CE78
tetradic
#7848CE #CE485B #9ECE48 #48CEBB
square
#7848CE #CE485B #9ECE48 #48CEBB
split-complementary
#7848CE #CEBB48 #5BCE48
monochromatic
#41217B #5B2EAB #7848CE #9C78DB #BFA9E8

Accessibility & contrast

On white

5.81
#7848CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7848CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848CE#FFFFFF#000000##FFFFFF
##7848CE1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#616785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7848ce;
/* rgb */ color: rgb(120, 72, 206);
/* oklch */ color: oklch(52.9% 0.197 295.3);
Tailwind
colors: {
  custom: {
    50: '#a57ede',
    500: '#7848ce',
    950: '#000000',
  },
}
SCSS
$custom: #7848ce;
$custom-light: #a57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7848ce",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 261.493,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.19659,
    "h": 295.3
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#7848CE
secondary
#C1D59D
accent
#E147AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7848CE

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

Preview Lab → · Contrast checker → · Palette generator →

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