#9849EC#9849EC

#9849EC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.233 H 301.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9849EC
RGBrgb(152, 73, 236)
HSLhsl(269, 81%, 61%)
HSVhsv(269, 69%, 93%)
CMYKcmyk(35.6%, 69.1%, 0%, 7.5%)
CIE-LABlab(48.88, 62.54, -69.44)
CIE-LCHlch(48.88, 93.45, 312.01°)
OKLaboklab(58.7% 0.1223 -0.1978)
OKLCHoklch(58.7% 0.233 301.7)
XYZxyz(30.4681, 17.4965, 81.1126)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849EC #9DEC49
analogous
#494BEC #9849EC #EA49EC
triadic
#9849EC #EC9849 #49EC98
tetradic
#9849EC #EC494B #9DEC49 #49ECEA
square
#9849EC #EC494B #9DEC49 #49ECEA
split-complementary
#9849EC #ECEA49 #4BEC49
monochromatic
#5B12A9 #7917E0 #9849EC #B780F2 #D7B8F8

Accessibility & contrast

On white

4.67
#9849EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9849EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9849EC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849EC#FFFFFF#000000##FFFFFF
##9849EC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#867095
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9849ec;
/* rgb */ color: rgb(152, 73, 236);
/* oklch */ color: oklch(58.7% 0.233 301.7);
Tailwind
colors: {
  custom: {
    50: '#bc82f3',
    500: '#9849ec',
    950: '#000000',
  },
}
SCSS
$custom: #9849ec;
$custom-light: #bc82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9849ec",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 269.08,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.587,
    "c": 0.23258,
    "h": 301.7
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#9849EC
secondary
#C9E7A9
accent
#DD0876
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9849EC

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

Preview Lab → · Contrast checker → · Palette generator →

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