#9849C7#9849C7

#9849C7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.194 H 310.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9849C7
RGBrgb(152, 73, 199)
HSLhsl(278, 53%, 53%)
HSVhsv(278, 63%, 78%)
CMYKcmyk(23.6%, 63.3%, 0%, 22%)
CIE-LABlab(46.40, 54.11, -52.35)
CIE-LCHlch(46.40, 75.28, 315.95°)
OKLaboklab(56.13% 0.1261 -0.1476)
OKLCHoklch(56.13% 0.194 310.5)
XYZxyz(25.6383, 15.5646, 55.6754)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849C7 #78C749
analogous
#5949C7 #9849C7 #C749B7
triadic
#9849C7 #C79849 #49C798
tetradic
#9849C7 #C75949 #78C749 #49B7C7
square
#9849C7 #C75949 #78C749 #49B7C7
split-complementary
#9849C7 #B7C749 #49C759
monochromatic
#552372 #7832A1 #9849C7 #B278D5 #CDA7E4

Accessibility & contrast

On white

5.11
#9849C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9849C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849C7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849C7#FFFFFF#000000##FFFFFF
##9849C71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#3A6FC4
Tritanopia (blue-blind)
#926281
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9849c7;
/* rgb */ color: rgb(152, 73, 199);
/* oklch */ color: oklch(56.1% 0.194 310.5);
Tailwind
colors: {
  custom: {
    50: '#ba80d9',
    500: '#9849c7',
    950: '#000000',
  },
}
SCSS
$custom: #9849c7;
$custom-light: #ba80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9849c7",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 277.619,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.19409,
    "h": 310.5
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#9849C7
secondary
#AFD19B
accent
#DC4B82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9849C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva