#9858E7#9858E7

#9858E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.208 H 300.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9858E7
RGBrgb(152, 88, 231)
HSLhsl(267, 75%, 63%)
HSVhsv(267, 62%, 91%)
CMYKcmyk(34.2%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.18, 54.08, -62.90)
CIE-LCHlch(51.18, 82.96, 310.69°)
OKLaboklab(60.25% 0.107 -0.1786)
OKLCHoklch(60.25% 0.208 300.9)
XYZxyz(30.8590, 19.4242, 77.7093)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E7 #A7E758
analogous
#5860E7 #9858E7 #DF58E7
triadic
#9858E7 #E79858 #58E798
tetradic
#9858E7 #E75860 #A7E758 #58E7DF
square
#9858E7 #E75860 #A7E758 #58E7DF
split-complementary
#9858E7 #E7DF58 #60E758
monochromatic
#5B19AC #7722DF #9858E7 #B98EEF #DAC3F6

Accessibility & contrast

On white

4.30
#9858E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9858E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E7#FFFFFF#000000##000000
##9858E71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#2379E4
Tritanopia (blue-blind)
#877798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9858e7;
/* rgb */ color: rgb(152, 88, 231);
/* oklch */ color: oklch(60.2% 0.208 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb8aef',
    500: '#9858e7',
    950: '#000000',
  },
}
SCSS
$custom: #9858e7;
$custom-light: #bb8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e7",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 266.853,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.20823,
    "h": 300.9
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#9858E7
secondary
#D0E7B3
accent
#D70E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9858E7

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

Preview Lab → · Contrast checker → · Palette generator →

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