#7849CC#7849CC

#7849CC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.193 H 295.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7849CC
RGBrgb(120, 73, 204)
HSLhsl(262, 56%, 54%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(41.2%, 64.2%, 0%, 20%)
CIE-LABlab(42.94, 48.34, -61.01)
CIE-LCHlch(42.94, 77.84, 308.39°)
OKLaboklab(52.9% 0.0832 -0.1741)
OKLCHoklch(52.9% 0.193 295.6)
XYZxyz(21.0245, 13.1173, 58.5392)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849CC #9DCC49
analogous
#495CCC #7849CC #BA49CC
triadic
#7849CC #CC7849 #49CC78
tetradic
#7849CC #CC495C #9DCC49 #49CCBA
square
#7849CC #CC495C #9DCC49 #49CCBA
split-complementary
#7849CC #CCBA49 #5CCC49
monochromatic
#412279 #5B2FA9 #7849CC #9B79D9 #BFA9E7

Accessibility & contrast

On white

5.80
#7849CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7849CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849CC#FFFFFF#000000##FFFFFF
##7849CC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#626784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7849cc;
/* rgb */ color: rgb(120, 73, 204);
/* oklch */ color: oklch(52.9% 0.193 295.6);
Tailwind
colors: {
  custom: {
    50: '#a57edc',
    500: '#7849cc',
    950: '#000000',
  },
}
SCSS
$custom: #7849cc;
$custom-light: #a57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7849cc",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 261.527,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.529,
    "c": 0.19293,
    "h": 295.6
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#7849CC
secondary
#C0D49D
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849CC

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

Preview Lab → · Contrast checker → · Palette generator →

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