#7848D5#7848D5

#7848D5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.205 H 294.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7848D5
RGBrgb(120, 72, 213)
HSLhsl(260, 63%, 56%)
HSVhsv(260, 66%, 84%)
CMYKcmyk(43.7%, 66.2%, 0%, 16.5%)
CIE-LABlab(43.41, 51.26, -65.43)
CIE-LCHlch(43.41, 83.12, 308.08°)
OKLaboklab(53.44% 0.0832 -0.1871)
OKLCHoklch(53.44% 0.205 294)
XYZxyz(22.0701, 13.4313, 64.3676)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D5 #A5D548
analogous
#485ED5 #7848D5 #BF48D5
triadic
#7848D5 #D57848 #48D578
tetradic
#7848D5 #D5485E #A5D548 #48D5BF
square
#7848D5 #D5485E #A5D548 #48D5BF
split-complementary
#7848D5 #D5BF48 #5ED548
monochromatic
#411E84 #5A2AB6 #7848D5 #9D7AE0 #C1ACEC

Accessibility & contrast

On white

5.70
#7848D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7848D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D5#FFFFFF#000000##FFFFFF
##7848D51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#5E6A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7848d5;
/* rgb */ color: rgb(120, 72, 213);
/* oklch */ color: oklch(53.4% 0.205 294.0);
Tailwind
colors: {
  custom: {
    50: '#a67ee3',
    500: '#7848d5',
    950: '#000000',
  },
}
SCSS
$custom: #7848d5;
$custom-light: #a67ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d5",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 260.426,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.20475,
    "h": 294
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#7848D5
secondary
#C6DA9F
accent
#E642AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7848D5

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

Preview Lab → · Contrast checker → · Palette generator →

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