#7848DD#7848DD

#7848DD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.214 H 292.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7848DD
RGBrgb(120, 72, 221)
HSLhsl(259, 69%, 57%)
HSVhsv(259, 67%, 87%)
CMYKcmyk(45.7%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.01, 53.40, -69.02)
CIE-LCHlch(44.01, 87.26, 307.73°)
OKLaboklab(54.07% 0.0821 -0.1976)
OKLCHoklch(54.07% 0.214 292.6)
XYZxyz(23.1106, 13.8475, 69.8478)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848DD #ADDD48
analogous
#4862DD #7848DD #C348DD
triadic
#7848DD #DD7848 #48DD78
tetradic
#7848DD #DD4862 #ADDD48 #48DDC3
square
#7848DD #DD4862 #ADDD48 #48DDC3
split-complementary
#7848DD #DDC348 #62DD48
monochromatic
#401B90 #5824C3 #7848DD #9E7CE7 #C4AFF0

Accessibility & contrast

On white

5.57
#7848DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7848DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848DD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848DD#FFFFFF#000000##FFFFFF
##7848DD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#5A6D8D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7848dd;
/* rgb */ color: rgb(120, 72, 221);
/* oklch */ color: oklch(54.1% 0.214 292.6);
Tailwind
colors: {
  custom: {
    50: '#a77ee9',
    500: '#7848dd',
    950: '#000000',
  },
}
SCSS
$custom: #7848dd;
$custom-light: #a77ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7848dd",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 259.329,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.21399,
    "h": 292.6
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#7848DD
secondary
#CBDEA2
accent
#EC3CB3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7848DD

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

Preview Lab → · Contrast checker → · Palette generator →

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