#9A3FCD#9A3FCD

#9A3FCD is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.214 H 310.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9A3FCD
RGBrgb(154, 63, 205)
HSLhsl(278, 59%, 53%)
HSVhsv(278, 69%, 80%)
CMYKcmyk(24.9%, 69.3%, 0%, 19.6%)
CIE-LABlab(45.41, 60.40, -57.40)
CIE-LCHlch(45.41, 83.32, 316.46°)
OKLaboklab(55.6% 0.1393 -0.1623)
OKLCHoklch(55.6% 0.214 310.6)
XYZxyz(26.1213, 14.8334, 59.2329)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FCD #72CD3F
analogous
#533FCD #9A3FCD #CD3FB9
triadic
#9A3FCD #CD9A3F #3FCD9A
tetradic
#9A3FCD #CD533F #72CD3F #3FB9CD
square
#9A3FCD #CD533F #72CD3F #3FB9CD
split-complementary
#9A3FCD #B9CD3F #3FCD53
monochromatic
#551E74 #782BA4 #9A3FCD #B470DA #CDA0E6

Accessibility & contrast

On white

5.29
#9A3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9A3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FCD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FCD#FFFFFF#000000##FFFFFF
##9A3FCD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#935E82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3fcd;
/* rgb */ color: rgb(154, 63, 205);
/* oklch */ color: oklch(55.6% 0.214 310.6);
Tailwind
colors: {
  custom: {
    50: '#bc7bdd',
    500: '#9a3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fcd;
$custom-light: #bc7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fcd",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 278.451,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.21385,
    "h": 310.6
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#9A3FCD
secondary
#ABD395
accent
#E2467E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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