#9849CA#9849CA

#9849CA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 309.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9849CA
RGBrgb(152, 73, 202)
HSLhsl(277, 55%, 54%)
HSVhsv(277, 64%, 79%)
CMYKcmyk(24.8%, 63.9%, 0%, 20.8%)
CIE-LABlab(46.59, 54.77, -53.78)
CIE-LCHlch(46.59, 76.76, 315.52°)
OKLaboklab(56.33% 0.1259 -0.1518)
OKLCHoklch(56.33% 0.197 309.7)
XYZxyz(25.9900, 15.7052, 57.5279)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9849CA #7BCA49
analogous
#5849CA #9849CA #CA49BC
triadic
#9849CA #CA9849 #49CA98
tetradic
#9849CA #CA5849 #7BCA49 #49BCCA
square
#9849CA #CA5849 #7BCA49 #49BCCA
split-complementary
#9849CA #BCCA49 #49CA58
monochromatic
#562276 #7830A6 #9849CA #B378D8 #CEA8E6

Accessibility & contrast

On white

5.07
#9849CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9849CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9849CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9849CA#FFFFFF#000000##FFFFFF
##9849CA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#916383
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9849ca;
/* rgb */ color: rgb(152, 73, 202);
/* oklch */ color: oklch(56.3% 0.197 309.7);
Tailwind
colors: {
  custom: {
    50: '#ba81db',
    500: '#9849ca',
    950: '#000000',
  },
}
SCSS
$custom: #9849ca;
$custom-light: #ba81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9849ca",
  "rgb": {
    "r": 152,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 276.744,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.19721,
    "h": 309.7
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#9849CA
secondary
#B1D39C
accent
#DE4A83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9849CA

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

Preview Lab → · Contrast checker → · Palette generator →

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