#7848D3#7848D3

#7848D3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.202 H 294.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7848D3
RGBrgb(120, 72, 211)
HSLhsl(261, 61%, 55%)
HSVhsv(261, 66%, 83%)
CMYKcmyk(43.1%, 65.9%, 0%, 17.3%)
CIE-LABlab(43.26, 50.73, -64.52)
CIE-LCHlch(43.26, 82.08, 308.17°)
OKLaboklab(53.29% 0.0835 -0.1844)
OKLCHoklch(53.29% 0.202 294.4)
XYZxyz(21.8178, 13.3304, 63.0389)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848D3 #A3D348
analogous
#485ED3 #7848D3 #BD48D3
triadic
#7848D3 #D37848 #48D378
tetradic
#7848D3 #D3485E #A3D348 #48D3BD
square
#7848D3 #D3485E #A3D348 #48D3BD
split-complementary
#7848D3 #D3BD48 #5ED348
monochromatic
#411F81 #5A2BB3 #7848D3 #9C79DF #C1ABEB

Accessibility & contrast

On white

5.73
#7848D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7848D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848D3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848D3#FFFFFF#000000##FFFFFF
##7848D31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#5F6987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7848d3;
/* rgb */ color: rgb(120, 72, 211);
/* oklch */ color: oklch(53.3% 0.202 294.4);
Tailwind
colors: {
  custom: {
    50: '#a67ee1',
    500: '#7848d3',
    950: '#000000',
  },
}
SCSS
$custom: #7848d3;
$custom-light: #a67ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7848d3",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 260.719,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.20242,
    "h": 294.4
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#7848D3
secondary
#C4D89E
accent
#E443AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7848D3

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

Preview Lab → · Contrast checker → · Palette generator →

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