#9855CA#9855CA

#9855CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.180 H 308.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9855CA
RGBrgb(152, 85, 202)
HSLhsl(274, 52%, 56%)
HSVhsv(274, 58%, 79%)
CMYKcmyk(24.8%, 57.9%, 0%, 20.8%)
CIE-LABlab(48.81, 48.76, -50.22)
CIE-LCHlch(48.81, 70.00, 314.16°)
OKLaboklab(57.94% 0.1113 -0.1414)
OKLCHoklch(57.94% 0.18 308.2)
XYZxyz(26.8559, 17.4370, 57.8166)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855CA #87CA55
analogous
#5E55CA #9855CA #CA55C2
triadic
#9855CA #CA9855 #55CA98
tetradic
#9855CA #CA5E55 #87CA55 #55C2CA
square
#9855CA #CA5E55 #87CA55 #55C2CA
split-complementary
#9855CA #C2CA55 #55CA5E
monochromatic
#59277D #7A36AC #9855CA #B484D9 #D1B2E7

Accessibility & contrast

On white

4.68
#9855CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9855CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855CA#FFFFFF#000000##FFFFFF
##9855CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#916B87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9855ca;
/* rgb */ color: rgb(152, 85, 202);
/* oklch */ color: oklch(57.9% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#b988db',
    500: '#9855ca',
    950: '#000000',
  },
}
SCSS
$custom: #9855ca;
$custom-light: #b988db;
$custom-dark: #000000;
JSON
{
  "hex": "#9855ca",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 274.359,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.17994,
    "h": 308.2
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#9855CA
secondary
#BAD5A5
accent
#DC4C89
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9855CA

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

Preview Lab → · Contrast checker → · Palette generator →

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