#7848BB#7848BB

#7848BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.174 H 299.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7848BB
RGBrgb(120, 72, 187)
HSLhsl(265, 46%, 51%)
HSVhsv(265, 61%, 73%)
CMYKcmyk(35.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(41.56, 44.42, -53.36)
CIE-LCHlch(41.56, 69.43, 309.78°)
OKLaboklab(51.52% 0.0856 -0.1516)
OKLCHoklch(51.52% 0.174 299.5)
XYZxyz(19.0305, 12.2155, 48.3593)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848BB #8BBB48
analogous
#4851BB #7848BB #B148BB
triadic
#7848BB #BB7848 #48BB78
tetradic
#7848BB #BB4851 #8BBB48 #48BBB1
square
#7848BB #BB4851 #8BBB48 #48BBB1
split-complementary
#7848BB #BBB148 #51BB48
monochromatic
#3F2564 #5B3690 #7848BB #9975CC #BAA1DC

Accessibility & contrast

On white

6.10
#7848BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7848BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848BB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848BB#FFFFFF#000000##FFFFFF
##7848BB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#69617B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7848bb;
/* rgb */ color: rgb(120, 72, 187);
/* oklch */ color: oklch(51.5% 0.174 299.5);
Tailwind
colors: {
  custom: {
    50: '#a37dd0',
    500: '#7848bb',
    950: '#000000',
  },
}
SCSS
$custom: #7848bb;
$custom-light: #a37dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7848bb",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 265.043,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.17408,
    "h": 299.5
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#7848BB
secondary
#B4C996
accent
#D5529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7848BB

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

Preview Lab → · Contrast checker → · Palette generator →

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