#7849DF#7849DF

#7849DF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.215 H 292.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7849DF
RGBrgb(120, 73, 223)
HSLhsl(259, 70%, 58%)
HSVhsv(259, 67%, 87%)
CMYKcmyk(46.2%, 67.3%, 0%, 12.5%)
CIE-LABlab(44.35, 53.42, -69.60)
CIE-LCHlch(44.35, 87.74, 307.51°)
OKLaboklab(54.36% 0.0808 -0.1993)
OKLCHoklch(54.36% 0.215 292.1)
XYZxyz(23.4438, 14.0851, 71.2812)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849DF #B0DF49
analogous
#4965DF #7849DF #C349DF
triadic
#7849DF #DF7849 #49DF78
tetradic
#7849DF #DF4965 #B0DF49 #49DFC3
square
#7849DF #DF4965 #B0DF49 #49DFC3
split-complementary
#7849DF #DFC349 #65DF49
monochromatic
#401A94 #5723C8 #7849DF #9F7DE8 #C5B1F1

Accessibility & contrast

On white

5.50
#7849DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7849DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849DF#FFFFFF#000000##FFFFFF
##7849DF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#596E8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7849df;
/* rgb */ color: rgb(120, 73, 223);
/* oklch */ color: oklch(54.4% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#a77fea',
    500: '#7849df',
    950: '#000000',
  },
}
SCSS
$custom: #7849df;
$custom-light: #a77fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7849df",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 258.8,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.2151,
    "h": 292.1
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#7849DF
secondary
#CDE0A4
accent
#ED3BB5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7849DF

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

Preview Lab → · Contrast checker → · Palette generator →

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