#7848D0#7848D0

#7848D0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.199 H 294.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7848D0
RGBrgb(120, 72, 208)
HSLhsl(261, 59%, 55%)
HSVhsv(261, 65%, 82%)
CMYKcmyk(42.3%, 65.4%, 0%, 18.4%)
CIE-LABlab(43.04, 49.93, -63.16)
CIE-LCHlch(43.04, 80.51, 308.33°)
OKLaboklab(53.06% 0.0838 -0.1804)
OKLCHoklch(53.06% 0.199 294.9)
XYZxyz(21.4452, 13.1813, 61.0766)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D0 #A0D048
analogous
#485CD0 #7848D0 #BC48D0
triadic
#7848D0 #D07848 #48D078
tetradic
#7848D0 #D0485C #A0D048 #48D0BC
square
#7848D0 #D0485C #A0D048 #48D0BC
split-complementary
#7848D0 #D0BC48 #5CD048
monochromatic
#41207D #5A2DAE #7848D0 #9C79DD #C0A9E9

Accessibility & contrast

On white

5.77
#7848D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7848D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D0#FFFFFF#000000##FFFFFF
##7848D01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#606886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7848d0;
/* rgb */ color: rgb(120, 72, 208);
/* oklch */ color: oklch(53.1% 0.199 294.9);
Tailwind
colors: {
  custom: {
    50: '#a57edf',
    500: '#7848d0',
    950: '#000000',
  },
}
SCSS
$custom: #7848d0;
$custom-light: #a57edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d0",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 261.176,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.19893,
    "h": 294.9
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#7848D0
secondary
#C2D79D
accent
#E245AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7848D0

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

Preview Lab → · Contrast checker → · Palette generator →

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