#9849E6#9849E6

#9849E6 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.226 H 303.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9849E6
RGBrgb(152, 73, 230)
HSLhsl(270, 76%, 59%)
HSVhsv(270, 68%, 90%)
CMYKcmyk(33.9%, 68.3%, 0%, 9.8%)
CIE-LABlab(48.45, 61.14, -66.75)
CIE-LCHlch(48.45, 90.52, 312.49°)
OKLaboklab(58.26% 0.1232 -0.1899)
OKLCHoklch(58.26% 0.226 303)
XYZxyz(29.6110, 17.1537, 76.5986)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849E6 #97E649
analogous
#4A49E6 #9849E6 #E649E5
triadic
#9849E6 #E69849 #49E698
tetradic
#9849E6 #E64A49 #97E649 #49E5E6
square
#9849E6 #E64A49 #97E649 #49E5E6
split-complementary
#9849E6 #E5E649 #49E64A
monochromatic
#5B169F #791DD5 #9849E6 #B67FED #D5B5F5

Accessibility & contrast

On white

4.74
#9849E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9849E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849E6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849E6#FFFFFF#000000##FFFFFF
##9849E61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#886D92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9849e6;
/* rgb */ color: rgb(152, 73, 230);
/* oklch */ color: oklch(58.3% 0.226 303.0);
Tailwind
colors: {
  custom: {
    50: '#bc81ef',
    500: '#9849e6',
    950: '#000000',
  },
}
SCSS
$custom: #9849e6;
$custom-light: #bc81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9849e6",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 270.191,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.22636,
    "h": 303
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#9849E6
secondary
#C5E4A7
accent
#F23593
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9849E6

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

Preview Lab → · Contrast checker → · Palette generator →

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