#7849BB#7849BB

#7849BB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.173 H 299.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7849BB
RGBrgb(120, 73, 187)
HSLhsl(265, 46%, 51%)
HSVhsv(265, 61%, 73%)
CMYKcmyk(35.8%, 61%, 0%, 26.7%)
CIE-LABlab(41.76, 43.88, -53.03)
CIE-LCHlch(41.76, 68.83, 309.60°)
OKLaboklab(51.67% 0.0844 -0.1506)
OKLCHoklch(51.67% 0.173 299.3)
XYZxyz(19.0957, 12.3458, 48.3810)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849BB #8CBB49
analogous
#4953BB #7849BB #B149BB
triadic
#7849BB #BB7849 #49BB78
tetradic
#7849BB #BB4953 #8CBB49 #49BBB1
square
#7849BB #BB4953 #8CBB49 #49BBB1
split-complementary
#7849BB #BBB149 #53BB49
monochromatic
#3F2564 #5B3691 #7849BB #9976CC #BAA2DC

Accessibility & contrast

On white

6.05
#7849BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7849BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849BB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849BB#FFFFFF#000000##FFFFFF
##7849BB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#1E62B8
Tritanopia (blue-blind)
#69617B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7849bb;
/* rgb */ color: rgb(120, 73, 187);
/* oklch */ color: oklch(51.7% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#a37ed0',
    500: '#7849bb',
    950: '#000000',
  },
}
SCSS
$custom: #7849bb;
$custom-light: #a37ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7849bb",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 264.737,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.17266,
    "h": 299.3
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#7849BB
secondary
#B4C997
accent
#D5539F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7849BB

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

Preview Lab → · Contrast checker → · Palette generator →

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