#7849BF#7849BF

#7849BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.177 H 298.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7849BF
RGBrgb(120, 73, 191)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 62%, 75%)
CMYKcmyk(37.2%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.03, 44.92, -54.93)
CIE-LCHlch(42.03, 70.96, 309.27°)
OKLaboklab(51.95% 0.0842 -0.1562)
OKLCHoklch(51.95% 0.177 298.3)
XYZxyz(19.5299, 12.5195, 50.6677)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849BF #90BF49
analogous
#4955BF #7849BF #B349BF
triadic
#7849BF #BF7849 #49BF78
tetradic
#7849BF #BF4955 #90BF49 #49BFB3
square
#7849BF #BF4955 #90BF49 #49BFB3
split-complementary
#7849BF #BFB349 #55BF49
monochromatic
#402569 #5C3596 #7849BF #9A76CF #BBA4DF

Accessibility & contrast

On white

5.99
#7849BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7849BF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849BF#FFFFFF#000000##FFFFFF
##7849BF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#68637D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7849bf;
/* rgb */ color: rgb(120, 73, 191);
/* oklch */ color: oklch(52.0% 0.177 298.3);
Tailwind
colors: {
  custom: {
    50: '#a47ed3',
    500: '#7849bf',
    950: '#000000',
  },
}
SCSS
$custom: #7849bf;
$custom-light: #a47ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7849bf",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 263.898,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.17746,
    "h": 298.3
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#7849BF
secondary
#B7CC98
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7849BF

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

Preview Lab → · Contrast checker → · Palette generator →

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