#9856ED#9856ED

#9856ED is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.218 H 300.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9856ED
RGBrgb(152, 86, 237)
HSLhsl(266, 81%, 63%)
HSVhsv(266, 64%, 93%)
CMYKcmyk(35.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(51.20, 56.56, -66.24)
CIE-LCHlch(51.20, 87.10, 310.49°)
OKLaboklab(60.39% 0.1088 -0.1884)
OKLCHoklch(60.39% 0.218 300)
XYZxyz(31.5590, 19.4451, 82.1950)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856ED #ABED56
analogous
#565FED #9856ED #E356ED
triadic
#9856ED #ED9856 #56ED98
tetradic
#9856ED #ED565F #ABED56 #56EDE3
square
#9856ED #ED565F #ABED56 #56EDE3
split-complementary
#9856ED #EDE356 #5FED56
monochromatic
#5A13B5 #761FE7 #9856ED #BA8DF3 #DBC5F9

Accessibility & contrast

On white

4.30
#9856ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9856ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9856ED
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856ED#FFFFFF#000000##000000
##9856ED1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0879EA
Tritanopia (blue-blind)
#85789A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9856ed;
/* rgb */ color: rgb(152, 86, 237);
/* oklch */ color: oklch(60.4% 0.218 300.0);
Tailwind
colors: {
  custom: {
    50: '#bc89f4',
    500: '#9856ed',
    950: '#000000',
  },
}
SCSS
$custom: #9856ed;
$custom-light: #bc89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9856ed",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 266.225,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.21757,
    "h": 300
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#9856ED
secondary
#D3EAB4
accent
#DD0880
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9856ED

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

Preview Lab → · Contrast checker → · Palette generator →

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