#9E5CCF#9E5CCF

#9E5CCF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.177 H 308.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E5CCF
RGBrgb(158, 92, 207)
HSLhsl(274, 55%, 59%)
HSVhsv(274, 56%, 81%)
CMYKcmyk(23.7%, 55.6%, 0%, 18.8%)
CIE-LABlab(51.19, 47.74, -49.25)
CIE-LCHlch(51.19, 68.59, 314.11°)
OKLaboklab(59.94% 0.11 -0.1384)
OKLCHoklch(59.94% 0.177 308.5)
XYZxyz(29.1880, 19.4288, 61.2319)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CCF #8DCF5C
analogous
#645CCF #9E5CCF #CF5CC6
triadic
#9E5CCF #CF9E5C #5CCF9E
tetradic
#9E5CCF #CF645C #8DCF5C #5CC6CF
square
#9E5CCF #CF645C #8DCF5C #5CC6CF
split-complementary
#9E5CCF #C6CF5C #5CCF64
monochromatic
#5F2888 #8036B8 #9E5CCF #BA8BDD #D6BBEB

Accessibility & contrast

On white

4.30
#9E5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9E5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CCF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CCF#FFFFFF#000000##000000
##9E5CCF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#97718D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e5ccf;
/* rgb */ color: rgb(158, 92, 207);
/* oklch */ color: oklch(59.9% 0.177 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd8dde',
    500: '#9e5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ccf;
$custom-light: #bd8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ccf",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 274.435,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.17682,
    "h": 308.5
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#9E5CCF
secondary
#C0DAAD
accent
#DE4A89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#9E5CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva