#9855C7#9855C7

#9855C7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.177 H 309.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9855C7
RGBrgb(152, 85, 199)
HSLhsl(275, 50%, 56%)
HSVhsv(275, 57%, 78%)
CMYKcmyk(23.6%, 57.3%, 0%, 22%)
CIE-LABlab(48.63, 48.08, -48.77)
CIE-LCHlch(48.63, 68.48, 314.59°)
OKLaboklab(57.76% 0.1112 -0.1372)
OKLCHoklch(57.76% 0.177 309)
XYZxyz(26.5042, 17.2963, 55.9640)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855C7 #84C755
analogous
#5F55C7 #9855C7 #C755BD
triadic
#9855C7 #C79855 #55C798
tetradic
#9855C7 #C75F55 #84C755 #55BDC7
square
#9855C7 #C75F55 #84C755 #55BDC7
split-complementary
#9855C7 #BDC755 #55C75F
monochromatic
#58287A #7937A8 #9855C7 #B483D6 #D0B1E5

Accessibility & contrast

On white

4.71
#9855C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9855C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855C7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855C7#FFFFFF#000000##FFFFFF
##9855C71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#916A86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9855c7;
/* rgb */ color: rgb(152, 85, 199);
/* oklch */ color: oklch(57.8% 0.177 309.0);
Tailwind
colors: {
  custom: {
    50: '#b988d8',
    500: '#9855c7',
    950: '#000000',
  },
}
SCSS
$custom: #9855c7;
$custom-light: #b988d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9855c7",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 199
  },
  "hsl": {
    "h": 275.263,
    "s": 50.442,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.17659,
    "h": 309
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#9855C7
secondary
#B8D4A4
accent
#DA4E88
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9855C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9855C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva