#9849CD#9849CD

#9849CD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.200 H 308.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9849CD
RGBrgb(152, 73, 205)
HSLhsl(276, 57%, 55%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(25.9%, 64.4%, 0%, 19.6%)
CIE-LABlab(46.78, 55.44, -55.20)
CIE-LCHlch(46.78, 78.23, 315.12°)
OKLaboklab(56.53% 0.1258 -0.156)
OKLCHoklch(56.53% 0.2 308.9)
XYZxyz(26.3487, 15.8487, 59.4168)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849CD #7ECD49
analogous
#5649CD #9849CD #CD49C0
triadic
#9849CD #CD9849 #49CD98
tetradic
#9849CD #CD5649 #7ECD49 #49C0CD
square
#9849CD #CD5649 #7ECD49 #49C0CD
split-complementary
#9849CD #C0CD49 #49CD56
monochromatic
#57227A #792FAA #9849CD #B379DA #CEA9E7

Accessibility & contrast

On white

5.04
#9849CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9849CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849CD#FFFFFF#000000##FFFFFF
##9849CD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#906485
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9849cd;
/* rgb */ color: rgb(152, 73, 205);
/* oklch */ color: oklch(56.5% 0.200 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba81dd',
    500: '#9849cd',
    950: '#000000',
  },
}
SCSS
$custom: #9849cd;
$custom-light: #ba81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9849cd",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 275.909,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.20034,
    "h": 308.9
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#9849CD
secondary
#B3D59D
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849CD

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

Preview Lab → · Contrast checker → · Palette generator →

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