#9A5CCF#9A5CCF

#9A5CCF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.176 H 306.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9A5CCF
RGBrgb(154, 92, 207)
HSLhsl(272, 55%, 59%)
HSVhsv(272, 56%, 81%)
CMYKcmyk(25.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(50.72, 46.73, -50.01)
CIE-LCHlch(50.72, 68.45, 313.06°)
OKLaboklab(59.49% 0.105 -0.1408)
OKLCHoklch(59.49% 0.176 306.7)
XYZxyz(28.4137, 19.0296, 61.1956)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5CCF #91CF5C
analogous
#605CCF #9A5CCF #CF5CCA
triadic
#9A5CCF #CF9A5C #5CCF9A
tetradic
#9A5CCF #CF605C #91CF5C #5CCACF
square
#9A5CCF #CF605C #91CF5C #5CCACF
split-complementary
#9A5CCF #CACF5C #5CCF60
monochromatic
#5C2888 #7C36B8 #9A5CCF #B78BDD #D5BBEB

Accessibility & contrast

On white

4.37
#9A5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9A5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5CCF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5CCF#FFFFFF#000000##000000
##9A5CCF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#92718D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a5ccf;
/* rgb */ color: rgb(154, 92, 207);
/* oklch */ color: oklch(59.5% 0.176 306.7);
Tailwind
colors: {
  custom: {
    50: '#bb8cde',
    500: '#9a5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ccf;
$custom-light: #bb8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ccf",
  "rgb": {
    "r": 154,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 272.348,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.1756,
    "h": 306.7
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#9A5CCF
secondary
#C2DAAD
accent
#DE4A8E
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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