#7848C8#7848C8

#7848C8 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.190 H 296.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7848C8
RGBrgb(120, 72, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 64%, 78%)
CMYKcmyk(40%, 64%, 0%, 21.6%)
CIE-LABlab(42.46, 47.82, -59.48)
CIE-LCHlch(42.46, 76.31, 308.80°)
OKLaboklab(52.46% 0.0847 -0.1696)
OKLCHoklch(52.46% 0.19 296.5)
XYZxyz(20.4857, 12.7975, 56.0232)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7848C8 #98C848
analogous
#4858C8 #7848C8 #B848C8
triadic
#7848C8 #C87848 #48C878
tetradic
#7848C8 #C84858 #98C848 #48C8B8
square
#7848C8 #C84858 #98C848 #48C8B8
split-complementary
#7848C8 #C8B848 #58C848
monochromatic
#412373 #5B31A2 #7848C8 #9B77D6 #BDA6E4

Accessibility & contrast

On white

5.90
#7848C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7848C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7848C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7848C8#FFFFFF#000000##FFFFFF
##7848C81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#646581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7848c8;
/* rgb */ color: rgb(120, 72, 200);
/* oklch */ color: oklch(52.5% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#a57eda',
    500: '#7848c8',
    950: '#000000',
  },
}
SCSS
$custom: #7848c8;
$custom-light: #a57eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7848c8",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 262.5,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.18953,
    "h": 296.5
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#7848C8
secondary
#BDD19A
accent
#DD4BA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7848C8

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

Preview Lab → · Contrast checker → · Palette generator →

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