#9857E8#9857E8

#9857E8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.211 H 300.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9857E8
RGBrgb(152, 87, 232)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.5%, 62.5%, 0%, 9%)
CIE-LABlab(51.06, 54.84, -63.67)
CIE-LCHlch(51.06, 84.03, 310.74°)
OKLaboklab(60.18% 0.1081 -0.1809)
OKLCHoklch(60.18% 0.211 300.9)
XYZxyz(30.9191, 19.3178, 78.4281)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857E8 #A7E857
analogous
#575EE8 #9857E8 #E157E8
triadic
#9857E8 #E89857 #57E898
tetradic
#9857E8 #E8575E #A7E857 #57E8E1
square
#9857E8 #E8575E #A7E857 #57E8E1
split-complementary
#9857E8 #E8E157 #5EE857
monochromatic
#5B18AD #7721E1 #9857E8 #B98DEF #DAC3F7

Accessibility & contrast

On white

4.32
#9857E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9857E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857E8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857E8#FFFFFF#000000##000000
##9857E81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#877798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9857e8;
/* rgb */ color: rgb(152, 87, 232);
/* oklch */ color: oklch(60.2% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb8af0',
    500: '#9857e8',
    950: '#000000',
  },
}
SCSS
$custom: #9857e8;
$custom-light: #bb8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9857e8",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 266.897,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.21069,
    "h": 300.9
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#9857E8
secondary
#D0E8B3
accent
#D80D7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9857E8

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

Preview Lab → · Contrast checker → · Palette generator →

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