#7849BD#7849BD

#7849BD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.175 H 298.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7849BD
RGBrgb(120, 73, 189)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 61%, 74%)
CMYKcmyk(36.5%, 61.4%, 0%, 25.9%)
CIE-LABlab(41.89, 44.40, -53.98)
CIE-LCHlch(41.89, 69.89, 309.43°)
OKLaboklab(51.81% 0.0843 -0.1534)
OKLCHoklch(51.81% 0.175 298.8)
XYZxyz(19.3113, 12.4321, 49.5165)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849BD #8EBD49
analogous
#4954BD #7849BD #B249BD
triadic
#7849BD #BD7849 #49BD78
tetradic
#7849BD #BD4954 #8EBD49 #49BDB2
square
#7849BD #BD4954 #8EBD49 #49BDB2
split-complementary
#7849BD #BDB249 #54BD49
monochromatic
#402566 #5B3593 #7849BD #9976CD #BBA3DE

Accessibility & contrast

On white

6.02
#7849BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7849BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849BD#FFFFFF#000000##FFFFFF
##7849BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#68627C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7849bd;
/* rgb */ color: rgb(120, 73, 189);
/* oklch */ color: oklch(51.8% 0.175 298.8);
Tailwind
colors: {
  custom: {
    50: '#a47ed2',
    500: '#7849bd',
    950: '#000000',
  },
}
SCSS
$custom: #7849bd;
$custom-light: #a47ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7849bd",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 264.31,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.17506,
    "h": 298.8
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#7849BD
secondary
#B6CA97
accent
#D651A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7849BD

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

Preview Lab → · Contrast checker → · Palette generator →

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