#7849D2#7849D2

#7849D2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.200 H 294.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7849D2
RGBrgb(120, 73, 210)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 65%, 82%)
CMYKcmyk(42.9%, 65.2%, 0%, 17.6%)
CIE-LABlab(43.38, 49.94, -63.76)
CIE-LCHlch(43.38, 80.98, 308.07°)
OKLaboklab(53.35% 0.0826 -0.1821)
OKLCHoklch(53.35% 0.2 294.4)
XYZxyz(21.7580, 13.4107, 62.4024)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849D2 #A3D249
analogous
#495ED2 #7849D2 #BC49D2
triadic
#7849D2 #D27849 #49D278
tetradic
#7849D2 #D2495E #A3D249 #49D2BC
square
#7849D2 #D2495E #A3D249 #49D2BC
split-complementary
#7849D2 #D2BC49 #5ED249
monochromatic
#412081 #5A2CB2 #7849D2 #9C7ADE #C1ABEA

Accessibility & contrast

On white

5.70
#7849D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7849D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849D2#FFFFFF#000000##FFFFFF
##7849D21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7849d2;
/* rgb */ color: rgb(120, 73, 210);
/* oklch */ color: oklch(53.4% 0.200 294.4);
Tailwind
colors: {
  custom: {
    50: '#a67ee1',
    500: '#7849d2',
    950: '#000000',
  },
}
SCSS
$custom: #7849d2;
$custom-light: #a67ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7849d2",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 260.584,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.19999,
    "h": 294.4
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#7849D2
secondary
#C4D89F
accent
#E344AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849D2

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

Preview Lab → · Contrast checker → · Palette generator →

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