#7849C8#7849C8

#7849C8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.188 H 296.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7849C8
RGBrgb(120, 73, 200)
HSLhsl(262, 54%, 54%)
HSVhsv(262, 64%, 78%)
CMYKcmyk(40%, 63.5%, 0%, 21.6%)
CIE-LABlab(42.65, 47.28, -59.16)
CIE-LCHlch(42.65, 75.73, 308.63°)
OKLaboklab(52.6% 0.0836 -0.1686)
OKLCHoklch(52.6% 0.188 296.4)
XYZxyz(20.5509, 12.9279, 56.0450)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849C8 #99C849
analogous
#4959C8 #7849C8 #B749C8
triadic
#7849C8 #C87849 #49C878
tetradic
#7849C8 #C84959 #99C849 #49C8B7
square
#7849C8 #C84959 #99C849 #49C8B7
split-complementary
#7849C8 #C8B749 #59C849
monochromatic
#412374 #5B31A3 #7849C8 #9B78D6 #BEA7E4

Accessibility & contrast

On white

5.86
#7849C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7849C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849C8#FFFFFF#000000##FFFFFF
##7849C81.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7849c8;
/* rgb */ color: rgb(120, 73, 200);
/* oklch */ color: oklch(52.6% 0.188 296.4);
Tailwind
colors: {
  custom: {
    50: '#a57ed9',
    500: '#7849c8',
    950: '#000000',
  },
}
SCSS
$custom: #7849c8;
$custom-light: #a57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7849c8",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 262.205,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.1882,
    "h": 296.4
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#7849C8
secondary
#BDD29B
accent
#DD4BA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849C8

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

Preview Lab → · Contrast checker → · Palette generator →

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