#7849D7#7849D7

#7849D7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.206 H 293.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7849D7
RGBrgb(120, 73, 215)
HSLhsl(260, 64%, 56%)
HSVhsv(260, 66%, 84%)
CMYKcmyk(44.2%, 66%, 0%, 15.7%)
CIE-LABlab(43.75, 51.27, -66.02)
CIE-LCHlch(43.75, 83.59, 307.83°)
OKLaboklab(53.74% 0.082 -0.1888)
OKLCHoklch(53.74% 0.206 293.5)
XYZxyz(22.3907, 13.6638, 65.7345)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849D7 #A8D749
analogous
#4961D7 #7849D7 #BF49D7
triadic
#7849D7 #D77849 #49D778
tetradic
#7849D7 #D74961 #A8D749 #49D7BF
square
#7849D7 #D74961 #A8D749 #49D7BF
split-complementary
#7849D7 #D7BF49 #61D749
monochromatic
#411E88 #5929BA #7849D7 #9D7BE2 #C2ADED

Accessibility & contrast

On white

5.63
#7849D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7849D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849D7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849D7#FFFFFF#000000##FFFFFF
##7849D71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#5D6B8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7849d7;
/* rgb */ color: rgb(120, 73, 215);
/* oklch */ color: oklch(53.7% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#a67fe4',
    500: '#7849d7',
    950: '#000000',
  },
}
SCSS
$custom: #7849d7;
$custom-light: #a67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#7849d7",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 259.859,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.20583,
    "h": 293.5
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#7849D7
secondary
#C8DBA1
accent
#E741B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849D7

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

Preview Lab → · Contrast checker → · Palette generator →

#7849D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva