#7849CA#7849CA

#7849CA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.191 H 296.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7849CA
RGBrgb(120, 73, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 64%, 79%)
CMYKcmyk(40.6%, 63.9%, 0%, 20.8%)
CIE-LABlab(42.80, 47.81, -60.08)
CIE-LCHlch(42.80, 76.78, 308.51°)
OKLaboklab(52.75% 0.0834 -0.1713)
OKLCHoklch(52.75% 0.191 296)
XYZxyz(20.7862, 13.0220, 57.2840)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849CA #9BCA49
analogous
#495BCA #7849CA #B849CA
triadic
#7849CA #CA7849 #49CA78
tetradic
#7849CA #CA495B #9BCA49 #49CAB8
square
#7849CA #CA495B #9BCA49 #49CAB8
split-complementary
#7849CA #CAB849 #5BCA49
monochromatic
#412276 #5B30A6 #7849CA #9B78D8 #BEA8E6

Accessibility & contrast

On white

5.83
#7849CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7849CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849CA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849CA#FFFFFF#000000##FFFFFF
##7849CA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#636783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7849ca;
/* rgb */ color: rgb(120, 73, 202);
/* oklch */ color: oklch(52.8% 0.191 296.0);
Tailwind
colors: {
  custom: {
    50: '#a57edb',
    500: '#7849ca',
    950: '#000000',
  },
}
SCSS
$custom: #7849ca;
$custom-light: #a57edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7849ca",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 261.86,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.19057,
    "h": 296
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#7849CA
secondary
#BFD39C
accent
#DE4AA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849CA

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

Preview Lab → · Contrast checker → · Palette generator →

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