#7849CE#7849CE

#7849CE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.195 H 295.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7849CE
RGBrgb(120, 73, 206)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 65%, 81%)
CMYKcmyk(41.7%, 64.6%, 0%, 19.2%)
CIE-LABlab(43.08, 48.87, -61.93)
CIE-LCHlch(43.08, 78.89, 308.28°)
OKLaboklab(53.05% 0.083 -0.1768)
OKLCHoklch(53.05% 0.195 295.2)
XYZxyz(21.2659, 13.2139, 59.8107)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849CE #9FCE49
analogous
#495DCE #7849CE #BB49CE
triadic
#7849CE #CE7849 #49CE78
tetradic
#7849CE #CE495D #9FCE49 #49CEBB
square
#7849CE #CE495D #9FCE49 #49CEBB
split-complementary
#7849CE #CEBB49 #5DCE49
monochromatic
#41217B #5B2EAC #7849CE #9C79DB #C0A9E8

Accessibility & contrast

On white

5.76
#7849CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7849CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849CE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849CE#FFFFFF#000000##FFFFFF
##7849CE1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#616885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7849ce;
/* rgb */ color: rgb(120, 73, 206);
/* oklch */ color: oklch(53.0% 0.195 295.2);
Tailwind
colors: {
  custom: {
    50: '#a57ede',
    500: '#7849ce',
    950: '#000000',
  },
}
SCSS
$custom: #7849ce;
$custom-light: #a57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7849ce",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 261.203,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.19529,
    "h": 295.2
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#7849CE
secondary
#C2D59D
accent
#E147AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849CE

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

Preview Lab → · Contrast checker → · Palette generator →

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