#9849CF#9849CF

#9849CF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.202 H 308.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9849CF
RGBrgb(152, 73, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 65%, 81%)
CMYKcmyk(26.6%, 64.7%, 0%, 18.8%)
CIE-LABlab(46.90, 55.88, -56.15)
CIE-LCHlch(46.90, 79.22, 314.87°)
OKLaboklab(56.66% 0.1256 -0.1587)
OKLCHoklch(56.66% 0.202 308.4)
XYZxyz(26.5916, 15.9459, 60.6964)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849CF #80CF49
analogous
#5549CF #9849CF #CF49C3
triadic
#9849CF #CF9849 #49CF98
tetradic
#9849CF #CF5549 #80CF49 #49C3CF
square
#9849CF #CF5549 #80CF49 #49C3CF
split-complementary
#9849CF #C3CF49 #49CF55
monochromatic
#57217D #792EAD #9849CF #B379DC #CFAAE9

Accessibility & contrast

On white

5.01
#9849CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9849CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849CF#FFFFFF#000000##FFFFFF
##9849CF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#906586
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9849cf;
/* rgb */ color: rgb(152, 73, 207);
/* oklch */ color: oklch(56.7% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba81de',
    500: '#9849cf',
    950: '#000000',
  },
}
SCSS
$custom: #9849cf;
$custom-light: #ba81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9849cf",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 275.373,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.20242,
    "h": 308.4
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#9849CF
secondary
#B5D69E
accent
#E14686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849CF

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

Preview Lab → · Contrast checker → · Palette generator →

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