#9858E8#9858E8

#9858E8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.209 H 300.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9858E8
RGBrgb(152, 88, 232)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 62%, 91%)
CMYKcmyk(34.5%, 62.1%, 0%, 9%)
CIE-LABlab(51.24, 54.33, -63.36)
CIE-LCHlch(51.24, 83.46, 310.61°)
OKLaboklab(60.31% 0.1069 -0.18)
OKLCHoklch(60.31% 0.209 300.7)
XYZxyz(31.0006, 19.4808, 78.4552)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E8 #A8E858
analogous
#5860E8 #9858E8 #E058E8
triadic
#9858E8 #E89858 #58E898
tetradic
#9858E8 #E85860 #A8E858 #58E8E0
square
#9858E8 #E85860 #A8E858 #58E8E0
split-complementary
#9858E8 #E8E058 #60E858
monochromatic
#5A18AE #7722E1 #9858E8 #B98EEF #DAC4F7

Accessibility & contrast

On white

4.29
#9858E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9858E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E8#FFFFFF#000000##000000
##9858E81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9858e8;
/* rgb */ color: rgb(152, 88, 232);
/* oklch */ color: oklch(60.3% 0.209 300.7);
Tailwind
colors: {
  custom: {
    50: '#bb8af0',
    500: '#9858e8',
    950: '#000000',
  },
}
SCSS
$custom: #9858e8;
$custom-light: #bb8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e8",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 266.667,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60313,
    "c": 0.20935,
    "h": 300.7
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#9858E8
secondary
#D1E8B4
accent
#D80E7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858E8

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

Preview Lab → · Contrast checker → · Palette generator →

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