#9858D3#9858D3

#9858D3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.186 H 305.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9858D3
RGBrgb(152, 88, 211)
HSLhsl(271, 58%, 59%)
HSVhsv(271, 58%, 83%)
CMYKcmyk(28%, 58.3%, 0%, 17.3%)
CIE-LABlab(49.93, 49.29, -53.58)
CIE-LCHlch(49.93, 72.80, 312.61°)
OKLaboklab(58.93% 0.1076 -0.1513)
OKLCHoklch(58.93% 0.186 305.4)
XYZxyz(28.1940, 18.3582, 63.6736)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9858D3 #93D358
analogous
#5A58D3 #9858D3 #D358D0
triadic
#9858D3 #D39858 #58D398
tetradic
#9858D3 #D35A58 #93D358 #58D0D3
square
#9858D3 #D35A58 #93D358 #58D0D3
split-complementary
#9858D3 #D0D358 #58D35A
monochromatic
#5A258C #7A32BC #9858D3 #B688E0 #D4B9ED

Accessibility & contrast

On white

4.50
#9858D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9858D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9858D3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9858D3#FFFFFF#000000##000000
##9858D31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2375D7
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#8E708D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9858d3;
/* rgb */ color: rgb(152, 88, 211);
/* oklch */ color: oklch(58.9% 0.186 305.4);
Tailwind
colors: {
  custom: {
    50: '#ba8ae1',
    500: '#9858d3',
    950: '#000000',
  },
}
SCSS
$custom: #9858d3;
$custom-light: #ba8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9858d3",
  "rgb": {
    "r": 152,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 271.22,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.18562,
    "h": 305.4
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#9858D3
secondary
#C2DCAB
accent
#E24691
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9858D3

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

Preview Lab → · Contrast checker → · Palette generator →

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