#9857DA#9857DA

#9857DA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.195 H 303.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9857DA
RGBrgb(152, 87, 218)
HSLhsl(270, 64%, 60%)
HSVhsv(270, 60%, 85%)
CMYKcmyk(30.3%, 60.1%, 0%, 14.5%)
CIE-LABlab(50.16, 51.47, -57.19)
CIE-LCHlch(50.16, 76.94, 311.98°)
OKLaboklab(59.24% 0.1087 -0.1618)
OKLCHoklch(59.24% 0.195 303.9)
XYZxyz(29.0091, 18.5538, 68.3691)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857DA #99DA57
analogous
#5758DA #9857DA #D957DA
triadic
#9857DA #DA9857 #57DA98
tetradic
#9857DA #DA5758 #99DA57 #57DAD9
square
#9857DA #DA5758 #99DA57 #57DAD9
split-complementary
#9857DA #DAD957 #58DA57
monochromatic
#5B2196 #792CC8 #9857DA #B789E5 #D5BBF0

Accessibility & contrast

On white

4.46
#9857DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9857DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857DA#FFFFFF#000000##000000
##9857DA1.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)
#0E76DE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#8C7290
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9857da;
/* rgb */ color: rgb(152, 87, 218);
/* oklch */ color: oklch(59.2% 0.195 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba89e6',
    500: '#9857da',
    950: '#000000',
  },
}
SCSS
$custom: #9857da;
$custom-light: #ba89e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9857da",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 269.771,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.19498,
    "h": 303.9
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#9857DA
secondary
#C7E0AD
accent
#E74195
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9857DA

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

Preview Lab → · Contrast checker → · Palette generator →

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