#9849CE#9849CE

#9849CE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.201 H 308.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9849CE
RGBrgb(152, 73, 206)
HSLhsl(276, 58%, 55%)
HSVhsv(276, 65%, 81%)
CMYKcmyk(26.2%, 64.6%, 0%, 19.2%)
CIE-LABlab(46.84, 55.66, -55.67)
CIE-LCHlch(46.84, 78.73, 314.99°)
OKLaboklab(56.59% 0.1257 -0.1573)
OKLCHoklch(56.59% 0.201 308.6)
XYZxyz(26.4698, 15.8971, 60.0546)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849CE #7FCE49
analogous
#5549CE #9849CE #CE49C2
triadic
#9849CE #CE9849 #49CE98
tetradic
#9849CE #CE5549 #7FCE49 #49C2CE
square
#9849CE #CE5549 #7FCE49 #49C2CE
split-complementary
#9849CE #C2CE49 #49CE55
monochromatic
#57217B #792EAC #9849CE #B379DB #CFA9E8

Accessibility & contrast

On white

5.02
#9849CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9849CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849CE#FFFFFF#000000##FFFFFF
##9849CE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#906485
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9849ce;
/* rgb */ color: rgb(152, 73, 206);
/* oklch */ color: oklch(56.6% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba81de',
    500: '#9849ce',
    950: '#000000',
  },
}
SCSS
$custom: #9849ce;
$custom-light: #ba81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9849ce",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 275.639,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.20138,
    "h": 308.6
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#9849CE
secondary
#B4D59D
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849CE

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

Preview Lab → · Contrast checker → · Palette generator →

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