#7849C2#7849C2

#7849C2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.181 H 297.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7849C2
RGBrgb(120, 73, 194)
HSLhsl(263, 50%, 52%)
HSVhsv(263, 62%, 76%)
CMYKcmyk(38.1%, 62.4%, 0%, 23.9%)
CIE-LABlab(42.24, 45.70, -56.35)
CIE-LCHlch(42.24, 72.55, 309.04°)
OKLaboklab(52.17% 0.084 -0.1604)
OKLCHoklch(52.17% 0.181 297.7)
XYZxyz(19.8634, 12.6529, 52.4242)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849C2 #93C249
analogous
#4956C2 #7849C2 #B549C2
triadic
#7849C2 #C27849 #49C278
tetradic
#7849C2 #C24956 #93C249 #49C2B5
square
#7849C2 #C24956 #93C249 #49C2B5
split-complementary
#7849C2 #C2B549 #56C249
monochromatic
#40246C #5B349A #7849C2 #9A77D1 #BCA5E1

Accessibility & contrast

On white

5.95
#7849C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7849C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849C2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849C2#FFFFFF#000000##FFFFFF
##7849C21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0B62BF
Tritanopia (blue-blind)
#67647F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7849c2;
/* rgb */ color: rgb(120, 73, 194);
/* oklch */ color: oklch(52.2% 0.181 297.7);
Tailwind
colors: {
  custom: {
    50: '#a47ed5',
    500: '#7849c2',
    950: '#000000',
  },
}
SCSS
$custom: #7849c2;
$custom-light: #a47ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7849c2",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 263.306,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.18106,
    "h": 297.7
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#7849C2
secondary
#B9CE99
accent
#D94EA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7849C2

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

Preview Lab → · Contrast checker → · Palette generator →

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