#9858E6#9858E6

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

Color values

HEX#9858E6
RGBrgb(152, 88, 230)
HSLhsl(267, 74%, 62%)
HSVhsv(267, 62%, 90%)
CMYKcmyk(33.9%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.11, 53.84, -62.45)
CIE-LCHlch(51.11, 82.45, 310.77°)
OKLaboklab(60.18% 0.1071 -0.1773)
OKLCHoklch(60.18% 0.207 301.1)
XYZxyz(30.7181, 19.3679, 76.9676)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858E6 #A6E658
analogous
#585FE6 #9858E6 #DF58E6
triadic
#9858E6 #E69858 #58E698
tetradic
#9858E6 #E6585F #A6E658 #58E6DF
square
#9858E6 #E6585F #A6E658 #58E6DF
split-complementary
#9858E6 #E6DF58 #5FE658
monochromatic
#5B19AA #7723DE #9858E6 #B98DEE #DAC2F6

Accessibility & contrast

On white

4.31
#9858E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9858E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858E6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858E6#FFFFFF#000000##000000
##9858E61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2579E3
Tritanopia (blue-blind)
#887797
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9858e6;
/* rgb */ color: rgb(152, 88, 230);
/* oklch */ color: oklch(60.2% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#bb8aef',
    500: '#9858e6',
    950: '#000000',
  },
}
SCSS
$custom: #9858e6;
$custom-light: #bb8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9858e6",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 267.042,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.2071,
    "h": 301.1
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#9858E6
secondary
#CFE7B3
accent
#D60F7D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9858E6

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

Preview Lab → · Contrast checker → · Palette generator →

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