#7849BE#7849BE

#7849BE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.176 H 298.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7849BE
RGBrgb(120, 73, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 62%, 75%)
CMYKcmyk(36.8%, 61.6%, 0%, 25.5%)
CIE-LABlab(41.96, 44.66, -54.46)
CIE-LCHlch(41.96, 70.43, 309.35°)
OKLaboklab(51.88% 0.0843 -0.1548)
OKLCHoklch(51.88% 0.176 298.6)
XYZxyz(19.4202, 12.4756, 50.0901)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849BE #8FBE49
analogous
#4955BE #7849BE #B349BE
triadic
#7849BE #BE7849 #49BE78
tetradic
#7849BE #BE4955 #8FBE49 #49BEB3
square
#7849BE #BE4955 #8FBE49 #49BEB3
split-complementary
#7849BE #BEB349 #55BE49
monochromatic
#402568 #5C3595 #7849BE #9976CE #BBA3DE

Accessibility & contrast

On white

6.01
#7849BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7849BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849BE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849BE#FFFFFF#000000##FFFFFF
##7849BE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#68627D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7849be;
/* rgb */ color: rgb(120, 73, 190);
/* oklch */ color: oklch(51.9% 0.176 298.6);
Tailwind
colors: {
  custom: {
    50: '#a47ed2',
    500: '#7849be',
    950: '#000000',
  },
}
SCSS
$custom: #7849be;
$custom-light: #a47ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7849be",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 264.103,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.17626,
    "h": 298.6
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#7849BE
secondary
#B6CB98
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7849BE

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

Preview Lab → · Contrast checker → · Palette generator →

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