#9849D4#9849D4

#9849D4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.208 H 307.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9849D4
RGBrgb(152, 73, 212)
HSLhsl(274, 62%, 56%)
HSVhsv(274, 66%, 83%)
CMYKcmyk(28.3%, 65.6%, 0%, 16.9%)
CIE-LABlab(47.23, 57.01, -58.49)
CIE-LCHlch(47.23, 81.68, 314.26°)
OKLaboklab(57% 0.1252 -0.1656)
OKLCHoklch(57% 0.208 307.1)
XYZxyz(27.2126, 16.1943, 63.9668)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849D4 #85D449
analogous
#5249D4 #9849D4 #D449CA
triadic
#9849D4 #D49849 #49D498
tetradic
#9849D4 #D45249 #85D449 #49CAD4
square
#9849D4 #D45249 #85D449 #49CAD4
split-complementary
#9849D4 #CAD449 #49D452
monochromatic
#581F84 #792BB5 #9849D4 #B47BE0 #D0ACEB

Accessibility & contrast

On white

4.95
#9849D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9849D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849D4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849D4#FFFFFF#000000##FFFFFF
##9849D41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2971D1
Tritanopia (blue-blind)
#8E6788
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9849d4;
/* rgb */ color: rgb(152, 73, 212);
/* oklch */ color: oklch(57.0% 0.208 307.1);
Tailwind
colors: {
  custom: {
    50: '#bb81e2',
    500: '#9849d4',
    950: '#000000',
  },
}
SCSS
$custom: #9849d4;
$custom-light: #bb81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9849d4",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 274.101,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.20763,
    "h": 307.1
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#9849D4
secondary
#B8D9A0
accent
#E54389
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849D4

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

Preview Lab → · Contrast checker → · Palette generator →

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