#7849CB#7849CB

#7849CB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.8% C 0.192 H 295.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7849CB
RGBrgb(120, 73, 203)
HSLhsl(262, 56%, 54%)
HSVhsv(262, 64%, 80%)
CMYKcmyk(40.9%, 64%, 0%, 20.4%)
CIE-LABlab(42.87, 48.07, -60.55)
CIE-LCHlch(42.87, 77.31, 308.45°)
OKLaboklab(52.83% 0.0833 -0.1727)
OKLCHoklch(52.83% 0.192 295.8)
XYZxyz(20.9049, 13.0695, 57.9096)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7849CB #9CCB49
analogous
#495BCB #7849CB #B949CB
triadic
#7849CB #CB7849 #49CB78
tetradic
#7849CB #CB495B #9CCB49 #49CBB9
square
#7849CB #CB495B #9CCB49 #49CBB9
split-complementary
#7849CB #CBB949 #5BCB49
monochromatic
#412277 #5B30A7 #7849CB #9B79D9 #BFA8E6

Accessibility & contrast

On white

5.81
#7849CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7849CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7849CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7849CB#FFFFFF#000000##FFFFFF
##7849CB1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7849cb;
/* rgb */ color: rgb(120, 73, 203);
/* oklch */ color: oklch(52.8% 0.192 295.8);
Tailwind
colors: {
  custom: {
    50: '#a57edc',
    500: '#7849cb',
    950: '#000000',
  },
}
SCSS
$custom: #7849cb;
$custom-light: #a57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7849cb",
  "rgb": {
    "r": 120,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 261.692,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.19175,
    "h": 295.8
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#7849CB
secondary
#C0D49C
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7849CB

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

Preview Lab → · Contrast checker → · Palette generator →

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