#9A3CDF#9A3CDF

#9A3CDF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.6% C 0.235 H 306.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9A3CDF
RGBrgb(154, 60, 223)
HSLhsl(275, 72%, 55%)
HSVhsv(275, 73%, 87%)
CMYKcmyk(30.9%, 73.1%, 0%, 12.5%)
CIE-LABlab(46.22, 65.54, -66.39)
CIE-LCHlch(46.22, 93.29, 314.63°)
OKLaboklab(56.57% 0.1395 -0.1887)
OKLCHoklch(56.57% 0.235 306.5)
XYZxyz(28.2587, 15.4298, 71.2873)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CDF #81DF3C
analogous
#483CDF #9A3CDF #DF3CD3
triadic
#9A3CDF #DF9A3C #3CDF9A
tetradic
#9A3CDF #DF483C #81DF3C #3CD3DF
square
#9A3CDF #DF483C #81DF3C #3CD3DF
split-complementary
#9A3CDF #D3DF3C #3CDF48
monochromatic
#59178A #7B1FBF #9A3CDF #B571E8 #D0A5F0

Accessibility & contrast

On white

5.14
#9A3CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9A3CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CDF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CDF#FFFFFF#000000##FFFFFF
##9A3CDF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#8E638B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a3cdf;
/* rgb */ color: rgb(154, 60, 223);
/* oklch */ color: oklch(56.6% 0.235 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd7aea',
    500: '#9a3cdf',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cdf;
$custom-light: #bd7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cdf",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 274.601,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.23468,
    "h": 306.5
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#9A3CDF
secondary
#B6DD99
accent
#EF3986
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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