#9849DB#9849DB

#9849DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.215 H 305.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9849DB
RGBrgb(152, 73, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(30.6%, 66.7%, 0%, 14.1%)
CIE-LABlab(47.69, 58.60, -61.74)
CIE-LCHlch(47.69, 85.12, 313.51°)
OKLaboklab(57.48% 0.1246 -0.1751)
OKLCHoklch(57.48% 0.215 305.4)
XYZxyz(28.1148, 16.5552, 68.7184)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849DB #8CDB49
analogous
#4F49DB #9849DB #DB49D5
triadic
#9849DB #DB9849 #49DB98
tetradic
#9849DB #DB4F49 #8CDB49 #49D5DB
square
#9849DB #DB4F49 #8CDB49 #49D5DB
split-complementary
#9849DB #D5DB49 #49DB4F
monochromatic
#591C8E #7A26C1 #9849DB #B57CE5 #D2AFEF

Accessibility & contrast

On white

4.87
#9849DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9849DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849DB#FFFFFF#000000##FFFFFF
##9849DB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#8C698C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9849db;
/* rgb */ color: rgb(152, 73, 219);
/* oklch */ color: oklch(57.5% 0.215 305.4);
Tailwind
colors: {
  custom: {
    50: '#bb81e7',
    500: '#9849db',
    950: '#000000',
  },
}
SCSS
$custom: #9849db;
$custom-light: #bb81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9849db",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 272.466,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.21493,
    "h": 305.4
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#9849DB
secondary
#BDDDA2
accent
#EA3E8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9849DB

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

Preview Lab → · Contrast checker → · Palette generator →

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