#7849F0#7849F0

#7849F0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.234 H 289.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7849F0
RGBrgb(120, 73, 240)
HSLhsl(257, 85%, 61%)
HSVhsv(257, 70%, 94%)
CMYKcmyk(50%, 69.6%, 0%, 5.9%)
CIE-LABlab(45.70, 58.01, -77.02)
CIE-LCHlch(45.70, 96.42, 306.98°)
OKLaboklab(55.74% 0.078 -0.2211)
OKLCHoklch(55.74% 0.234 289.4)
XYZxyz(25.8519, 15.0483, 83.9636)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849F0 #C1F049
analogous
#496EF0 #7849F0 #CC49F0
triadic
#7849F0 #F07849 #49F078
tetradic
#7849F0 #F0496E #C1F049 #49F0CC
square
#7849F0 #F0496E #C1F049 #49F0CC
split-complementary
#7849F0 #F0CC49 #6EF049
monochromatic
#3C0FB0 #4F13E9 #7849F0 #A282F5 #CCBAF9

Accessibility & contrast

On white

5.24
#7849F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7849F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849F0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849F0#FFFFFF#000000##FFFFFF
##7849F01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#4D7498
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7849f0;
/* rgb */ color: rgb(120, 73, 240);
/* oklch */ color: oklch(55.7% 0.234 289.4);
Tailwind
colors: {
  custom: {
    50: '#a97ff6',
    500: '#7849f0',
    950: '#000000',
  },
}
SCSS
$custom: #7849f0;
$custom-light: #a97ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#7849f0",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 240
  },
  "hsl": {
    "h": 256.886,
    "s": 84.772,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.23448,
    "h": 289.4
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#7849F0
secondary
#D8EAAB
accent
#E104A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7849F0

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

Preview Lab → · Contrast checker → · Palette generator →

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