#9849D3#9849D3

#9849D3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.207 H 307.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9849D3
RGBrgb(152, 73, 211)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 65%, 83%)
CMYKcmyk(28%, 65.4%, 0%, 17.3%)
CIE-LABlab(47.16, 56.78, -58.02)
CIE-LCHlch(47.16, 81.18, 314.38°)
OKLaboklab(56.93% 0.1253 -0.1642)
OKLCHoklch(56.93% 0.207 307.3)
XYZxyz(27.0869, 16.1440, 63.3045)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D3 #84D349
analogous
#5349D3 #9849D3 #D349C9
triadic
#9849D3 #D39849 #49D398
tetradic
#9849D3 #D35349 #84D349 #49C9D3
square
#9849D3 #D35349 #84D349 #49C9D3
split-complementary
#9849D3 #C9D349 #49D353
monochromatic
#581F82 #792BB3 #9849D3 #B47ADF #D0ACEB

Accessibility & contrast

On white

4.97
#9849D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9849D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D3#FFFFFF#000000##FFFFFF
##9849D31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#2B71D0
Tritanopia (blue-blind)
#8F6688
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9849d3;
/* rgb */ color: rgb(152, 73, 211);
/* oklch */ color: oklch(56.9% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#bb81e1',
    500: '#9849d3',
    950: '#000000',
  },
}
SCSS
$custom: #9849d3;
$custom-light: #bb81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d3",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 274.348,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.20659,
    "h": 307.3
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#9849D3
secondary
#B8D99F
accent
#E44488
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849D3

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

Preview Lab → · Contrast checker → · Palette generator →

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