#9853D9#9853D9

#9853D9 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.199 H 304.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9853D9
RGBrgb(152, 83, 217)
HSLhsl(271, 64%, 59%)
HSVhsv(271, 62%, 85%)
CMYKcmyk(30%, 61.8%, 0%, 14.9%)
CIE-LABlab(49.34, 53.27, -57.94)
CIE-LCHlch(49.34, 78.71, 312.59°)
OKLaboklab(58.63% 0.1135 -0.164)
OKLCHoklch(58.63% 0.199 304.7)
XYZxyz(28.5638, 17.8718, 67.5770)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9853D9 #94D953
analogous
#5553D9 #9853D9 #D953D7
triadic
#9853D9 #D99853 #53D998
tetradic
#9853D9 #D95553 #94D953 #53D7D9
square
#9853D9 #D95553 #94D953 #53D7D9
split-complementary
#9853D9 #D7D953 #53D955
monochromatic
#5A2091 #7A2BC4 #9853D9 #B685E4 #D4B7EF

Accessibility & contrast

On white

4.59
#9853D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9853D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9853D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9853D9#FFFFFF#000000##FFFFFF
##9853D91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#8C6F8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9853d9;
/* rgb */ color: rgb(152, 83, 217);
/* oklch */ color: oklch(58.6% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#ba87e5',
    500: '#9853d9',
    950: '#000000',
  },
}
SCSS
$custom: #9853d9;
$custom-light: #ba87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9853d9",
  "rgb": {
    "r": 152,
    "g": 83,
    "b": 217
  },
  "hsl": {
    "h": 270.896,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.19948,
    "h": 304.7
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#9853D9
secondary
#C3DEAA
accent
#E74191
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9853D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9853D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva