#9855DA#9855DA

#9855DA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 59.0% C 0.198 H 304.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9855DA
RGBrgb(152, 85, 218)
HSLhsl(270, 64%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.3%, 61%, 0%, 14.5%)
CIE-LABlab(49.78, 52.49, -57.81)
CIE-LCHlch(49.78, 78.08, 312.24°)
OKLaboklab(58.96% 0.1111 -0.1636)
OKLCHoklch(58.96% 0.198 304.2)
XYZxyz(28.8495, 18.2345, 68.3158)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855DA #97DA55
analogous
#5655DA #9855DA #DA55D9
triadic
#9855DA #DA9855 #55DA98
tetradic
#9855DA #DA5655 #97DA55 #55D9DA
square
#9855DA #DA5655 #97DA55 #55D9DA
split-complementary
#9855DA #D9DA55 #55DA56
monochromatic
#5B2094 #792BC7 #9855DA #B687E5 #D5BAF0

Accessibility & contrast

On white

4.52
#9855DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9855DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855DA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855DA#FFFFFF#000000##000000
##9855DA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#8C7090
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9855da;
/* rgb */ color: rgb(152, 85, 218);
/* oklch */ color: oklch(59.0% 0.198 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba88e6',
    500: '#9855da',
    950: '#000000',
  },
}
SCSS
$custom: #9855da;
$custom-light: #ba88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9855da",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 270.226,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.1978,
    "h": 304.2
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#9855DA
secondary
#C5DFAB
accent
#E74193
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855DA

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

Preview Lab → · Contrast checker → · Palette generator →

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