#9857ED#9857ED

#9857ED is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.5% C 0.216 H 299.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9857ED
RGBrgb(152, 87, 237)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(35.9%, 63.3%, 0%, 7.1%)
CIE-LABlab(51.39, 56.06, -65.94)
CIE-LCHlch(51.39, 86.55, 310.37°)
OKLaboklab(60.52% 0.1077 -0.1875)
OKLCHoklch(60.52% 0.216 299.9)
XYZxyz(31.6394, 19.6059, 82.2218)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857ED #ACED57
analogous
#5761ED #9857ED #E357ED
triadic
#9857ED #ED9857 #57ED98
tetradic
#9857ED #ED5761 #ACED57 #57EDE3
square
#9857ED #ED5761 #ACED57 #57EDE3
split-complementary
#9857ED #EDE357 #61ED57
monochromatic
#5A14B6 #7620E7 #9857ED #BA8EF3 #DCC6F9

Accessibility & contrast

On white

4.27
#9857ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9857ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857ED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857ED#FFFFFF#000000##000000
##9857ED1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9857ed;
/* rgb */ color: rgb(152, 87, 237);
/* oklch */ color: oklch(60.5% 0.216 299.9);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9857ed',
    950: '#000000',
  },
}
SCSS
$custom: #9857ed;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9857ed",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 266,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.21626,
    "h": 299.9
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#9857ED
secondary
#D3EAB5
accent
#DD0981
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9857ED

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

Preview Lab → · Contrast checker → · Palette generator →

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