#7849E7#7849E7

#7849E7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.224 H 290.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7849E7
RGBrgb(120, 73, 231)
HSLhsl(258, 77%, 60%)
HSVhsv(258, 68%, 91%)
CMYKcmyk(48.1%, 68.4%, 0%, 9.4%)
CIE-LABlab(44.98, 55.58, -73.12)
CIE-LCHlch(44.98, 91.85, 307.24°)
OKLaboklab(55% 0.0796 -0.2097)
OKLCHoklch(55% 0.224 290.8)
XYZxyz(24.5480, 14.5267, 77.0963)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849E7 #B8E749
analogous
#4969E7 #7849E7 #C749E7
triadic
#7849E7 #E77849 #49E778
tetradic
#7849E7 #E74969 #B8E749 #49E7C7
square
#7849E7 #E74969 #B8E749 #49E7C7
split-complementary
#7849E7 #E7C749 #69E749
monochromatic
#3F15A0 #541CD7 #7849E7 #A07FEE #C8B5F5

Accessibility & contrast

On white

5.38
#7849E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7849E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849E7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849E7#FFFFFF#000000##FFFFFF
##7849E71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#547193
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7849e7;
/* rgb */ color: rgb(120, 73, 231);
/* oklch */ color: oklch(55.0% 0.224 290.8);
Tailwind
colors: {
  custom: {
    50: '#a87ff0',
    500: '#7849e7',
    950: '#000000',
  },
}
SCSS
$custom: #7849e7;
$custom-light: #a87ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7849e7",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 257.848,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.22427,
    "h": 290.8
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#7849E7
secondary
#D2E5A7
accent
#F335BB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7849E7

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

Preview Lab → · Contrast checker → · Palette generator →

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