#7848D1#7848D1

#7848D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.200 H 294.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7848D1
RGBrgb(120, 72, 209)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 66%, 82%)
CMYKcmyk(42.6%, 65.6%, 0%, 18%)
CIE-LABlab(43.11, 50.20, -63.61)
CIE-LCHlch(43.11, 81.03, 308.28°)
OKLaboklab(53.14% 0.0837 -0.1817)
OKLCHoklch(53.14% 0.2 294.7)
XYZxyz(21.5686, 13.2307, 61.7266)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D1 #A1D148
analogous
#485CD1 #7848D1 #BC48D1
triadic
#7848D1 #D17848 #48D178
tetradic
#7848D1 #D1485C #A1D148 #48D1BC
square
#7848D1 #D1485C #A1D148 #48D1BC
split-complementary
#7848D1 #D1BC48 #5CD148
monochromatic
#41207F #5A2CB0 #7848D1 #9C79DD #C0AAEA

Accessibility & contrast

On white

5.76
#7848D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7848D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D1#FFFFFF#000000##FFFFFF
##7848D11.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#606886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7848d1;
/* rgb */ color: rgb(120, 72, 209);
/* oklch */ color: oklch(53.1% 0.200 294.7);
Tailwind
colors: {
  custom: {
    50: '#a67ee0',
    500: '#7848d1',
    950: '#000000',
  },
}
SCSS
$custom: #7848d1;
$custom-light: #a67ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d1",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 261.022,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.20009,
    "h": 294.7
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#7848D1
secondary
#C3D79E
accent
#E345AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7848D1

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

Preview Lab → · Contrast checker → · Palette generator →

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