#9849E7#9849E7

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

Color values

HEX#9849E7
RGBrgb(152, 73, 231)
HSLhsl(270, 77%, 60%)
HSVhsv(270, 68%, 91%)
CMYKcmyk(34.2%, 68.4%, 0%, 9.4%)
CIE-LABlab(48.52, 61.37, -67.20)
CIE-LCHlch(48.52, 91.01, 312.40°)
OKLaboklab(58.33% 0.1231 -0.1912)
OKLCHoklch(58.33% 0.227 302.8)
XYZxyz(29.7519, 17.2100, 77.3403)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849E7 #98E749
analogous
#4949E7 #9849E7 #E749E7
triadic
#9849E7 #E79849 #49E798
tetradic
#9849E7 #E74949 #98E749 #49E7E7
square
#9849E7 #E74949 #98E749 #49E7E7
split-complementary
#9849E7 #E7E749 #49E749
monochromatic
#5B15A0 #791CD7 #9849E7 #B77FEE #D5B5F5

Accessibility & contrast

On white

4.73
#9849E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9849E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849E7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849E7#FFFFFF#000000##FFFFFF
##9849E71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9849e7;
/* rgb */ color: rgb(152, 73, 231);
/* oklch */ color: oklch(58.3% 0.227 302.8);
Tailwind
colors: {
  custom: {
    50: '#bc81f0',
    500: '#9849e7',
    950: '#000000',
  },
}
SCSS
$custom: #9849e7;
$custom-light: #bc81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9849e7",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58334,
    "c": 0.22739,
    "h": 302.8
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#9849E7
secondary
#C6E5A7
accent
#F33594
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9849E7

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

Preview Lab → · Contrast checker → · Palette generator →

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