#9849E8#9849E8

#9849E8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.228 H 302.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9849E8
RGBrgb(152, 73, 232)
HSLhsl(270, 78%, 60%)
HSVhsv(270, 69%, 91%)
CMYKcmyk(34.5%, 68.5%, 0%, 9%)
CIE-LABlab(48.59, 61.61, -67.65)
CIE-LCHlch(48.59, 91.50, 312.32°)
OKLaboklab(58.41% 0.1229 -0.1925)
OKLCHoklch(58.41% 0.228 302.6)
XYZxyz(29.8935, 17.2666, 78.0862)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849E8 #99E849
analogous
#494AE8 #9849E8 #E749E8
triadic
#9849E8 #E89849 #49E898
tetradic
#9849E8 #E8494A #99E849 #49E8E7
square
#9849E8 #E8494A #99E849 #49E8E7
split-complementary
#9849E8 #E8E749 #4AE849
monochromatic
#5B14A2 #791BD8 #9849E8 #B77FEF #D5B6F6

Accessibility & contrast

On white

4.72
#9849E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9849E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849E8#FFFFFF#000000##FFFFFF
##9849E81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#886E93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9849e8;
/* rgb */ color: rgb(152, 73, 232);
/* oklch */ color: oklch(58.4% 0.228 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc81f0',
    500: '#9849e8',
    950: '#000000',
  },
}
SCSS
$custom: #9849e8;
$custom-light: #bc81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9849e8",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 269.811,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.22843,
    "h": 302.6
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#9849E8
secondary
#C7E5A8
accent
#F43495
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9849E8

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

Preview Lab → · Contrast checker → · Palette generator →

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