#9855BE#9855BE

#9855BE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.167 H 311.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9855BE
RGBrgb(152, 85, 190)
HSLhsl(278, 45%, 54%)
HSVhsv(278, 55%, 75%)
CMYKcmyk(20%, 55.3%, 0%, 25.5%)
CIE-LABlab(48.12, 46.05, -44.38)
CIE-LCHlch(48.12, 63.96, 316.06°)
OKLaboklab(57.22% 0.1108 -0.1243)
OKLCHoklch(57.22% 0.167 311.7)
XYZxyz(25.4900, 16.8907, 50.6227)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855BE #7BBE55
analogous
#6455BE #9855BE #BE55B0
triadic
#9855BE #BE9855 #55BE98
tetradic
#9855BE #BE6455 #7BBE55 #55B0BE
square
#9855BE #BE6455 #7BBE55 #55B0BE
split-complementary
#9855BE #B0BE55 #55BE64
monochromatic
#562A6E #783B9B #9855BE #B381CF #CEAEE0

Accessibility & contrast

On white

4.80
#9855BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9855BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855BE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855BE#FFFFFF#000000##FFFFFF
##9855BE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#946781
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9855be;
/* rgb */ color: rgb(152, 85, 190);
/* oklch */ color: oklch(57.2% 0.167 311.7);
Tailwind
colors: {
  custom: {
    50: '#b988d2',
    500: '#9855be',
    950: '#000000',
  },
}
SCSS
$custom: #9855be;
$custom-light: #b988d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9855be",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 278.286,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.16656,
    "h": 311.7
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#9855BE
secondary
#B1CEA1
accent
#D45382
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9855BE

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

Preview Lab → · Contrast checker → · Palette generator →

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