#9856DD#9856DD

#9856DD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.200 H 303.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9856DD
RGBrgb(152, 86, 221)
HSLhsl(269, 67%, 60%)
HSVhsv(269, 61%, 87%)
CMYKcmyk(31.2%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.16, 52.69, -58.90)
CIE-LCHlch(50.16, 79.03, 311.82°)
OKLaboklab(59.3% 0.1098 -0.1669)
OKLCHoklch(59.3% 0.2 303.3)
XYZxyz(29.3249, 18.5515, 70.4285)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856DD #9BDD56
analogous
#5658DD #9856DD #DB56DD
triadic
#9856DD #DD9856 #56DD98
tetradic
#9856DD #DD5658 #9BDD56 #56DDDB
square
#9856DD #DD5658 #9BDD56 #56DDDB
split-complementary
#9856DD #DDDB56 #58DD56
monochromatic
#5B1F9A #7929CD #9856DD #B789E7 #D6BCF2

Accessibility & contrast

On white

4.46
#9856DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9856DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9856DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856DD#FFFFFF#000000##000000
##9856DD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#8B7292
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9856dd;
/* rgb */ color: rgb(152, 86, 221);
/* oklch */ color: oklch(59.3% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#bb89e8',
    500: '#9856dd',
    950: '#000000',
  },
}
SCSS
$custom: #9856dd;
$custom-light: #bb89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9856dd",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 269.333,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.19975,
    "h": 303.3
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#9856DD
secondary
#C8E1AE
accent
#CE1775
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9856DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9856DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva