#9A3FC2#9A3FC2

#9A3FC2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.203 H 313.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9A3FC2
RGBrgb(154, 63, 194)
HSLhsl(282, 52%, 50%)
HSVhsv(282, 68%, 76%)
CMYKcmyk(20.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(44.69, 58.08, -52.18)
CIE-LCHlch(44.69, 78.08, 318.06°)
OKLaboklab(54.86% 0.1403 -0.147)
OKLCHoklch(54.86% 0.203 313.7)
XYZxyz(24.8399, 14.3208, 52.4842)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FC2 #67C23F
analogous
#583FC2 #9A3FC2 #C23FA9
triadic
#9A3FC2 #C29A3F #3FC29A
tetradic
#9A3FC2 #C2583F #67C23F #3FA9C2
square
#9A3FC2 #C2583F #67C23F #3FA9C2
split-complementary
#9A3FC2 #A9C23F #3FC258
monochromatic
#512066 #762F95 #9A3FC2 #B26DD1 #CB9CE0

Accessibility & contrast

On white

5.43
#9A3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9A3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FC2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FC2#FFFFFF#000000##FFFFFF
##9A3FC21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#96597C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3fc2;
/* rgb */ color: rgb(154, 63, 194);
/* oklch */ color: oklch(54.9% 0.203 313.7);
Tailwind
colors: {
  custom: {
    50: '#bc7bd5',
    500: '#9a3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fc2;
$custom-light: #bc7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fc2",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 281.679,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.20317,
    "h": 313.7
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#9A3FC2
secondary
#A3CC91
accent
#DB4D78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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