#9849C8#9849C8

#9849C8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 310.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9849C8
RGBrgb(152, 73, 200)
HSLhsl(277, 54%, 54%)
HSVhsv(277, 64%, 78%)
CMYKcmyk(24%, 63.5%, 0%, 21.6%)
CIE-LABlab(46.46, 54.33, -52.83)
CIE-LCHlch(46.46, 75.78, 315.80°)
OKLaboklab(56.2% 0.126 -0.149)
OKLCHoklch(56.2% 0.195 310.2)
XYZxyz(25.7548, 15.6111, 56.2889)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849C8 #79C849
analogous
#5849C8 #9849C8 #C849B8
triadic
#9849C8 #C89849 #49C898
tetradic
#9849C8 #C85849 #79C849 #49B8C8
square
#9849C8 #C85849 #79C849 #49B8C8
split-complementary
#9849C8 #B8C849 #49C858
monochromatic
#552374 #7831A3 #9849C8 #B378D6 #CDA7E4

Accessibility & contrast

On white

5.09
#9849C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9849C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849C8#FFFFFF#000000##FFFFFF
##9849C81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCC
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#926282
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9849c8;
/* rgb */ color: rgb(152, 73, 200);
/* oklch */ color: oklch(56.2% 0.195 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba80d9',
    500: '#9849c8',
    950: '#000000',
  },
}
SCSS
$custom: #9849c8;
$custom-light: #ba80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9849c8",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 277.323,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.19512,
    "h": 310.2
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#9849C8
secondary
#B0D29B
accent
#DD4B82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849C8

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

Preview Lab → · Contrast checker → · Palette generator →

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