#7849CD#7849CD

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

Color values

HEX#7849CD
RGBrgb(120, 73, 205)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 64%, 80%)
CMYKcmyk(41.5%, 64.4%, 0%, 19.6%)
CIE-LABlab(43.01, 48.60, -61.47)
CIE-LCHlch(43.01, 78.36, 308.33°)
OKLaboklab(52.98% 0.0831 -0.1754)
OKLCHoklch(52.98% 0.194 295.4)
XYZxyz(21.1448, 13.1655, 59.1729)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849CD #9ECD49
analogous
#495CCD #7849CD #BA49CD
triadic
#7849CD #CD7849 #49CD78
tetradic
#7849CD #CD495C #9ECD49 #49CDBA
square
#7849CD #CD495C #9ECD49 #49CDBA
split-complementary
#7849CD #CDBA49 #5CCD49
monochromatic
#41227A #5B2FAA #7849CD #9C79DA #BFA9E7

Accessibility & contrast

On white

5.78
#7849CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7849CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849CD#FFFFFF#000000##FFFFFF
##7849CD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#626884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7849cd;
/* rgb */ color: rgb(120, 73, 205);
/* oklch */ color: oklch(53.0% 0.194 295.4);
Tailwind
colors: {
  custom: {
    50: '#a57edd',
    500: '#7849cd',
    950: '#000000',
  },
}
SCSS
$custom: #7849cd;
$custom-light: #a57edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7849cd",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 261.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.19411,
    "h": 295.4
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#7849CD
secondary
#C1D59D
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849CD

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

Preview Lab → · Contrast checker → · Palette generator →

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