#9A3FD2#9A3FD2

#9A3FD2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.219 H 309.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9A3FD2
RGBrgb(154, 63, 210)
HSLhsl(277, 62%, 54%)
HSVhsv(277, 70%, 82%)
CMYKcmyk(26.7%, 70%, 0%, 17.6%)
CIE-LABlab(45.74, 61.47, -59.73)
CIE-LCHlch(45.74, 85.71, 315.82°)
OKLaboklab(55.95% 0.1387 -0.1691)
OKLCHoklch(55.95% 0.219 309.3)
XYZxyz(26.7345, 15.0787, 62.4624)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FD2 #77D23F
analogous
#503FD2 #9A3FD2 #D23FC0
triadic
#9A3FD2 #D29A3F #3FD29A
tetradic
#9A3FD2 #D2503F #77D23F #3FC0D2
square
#9A3FD2 #D2503F #77D23F #3FC0D2
split-complementary
#9A3FD2 #C0D23F #3FD250
monochromatic
#561D7A #7A28AC #9A3FD2 #B471DE #CEA2E9

Accessibility & contrast

On white

5.23
#9A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9A3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FD2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FD2#FFFFFF#000000##FFFFFF
##9A3FD21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#926084
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3fd2;
/* rgb */ color: rgb(154, 63, 210);
/* oklch */ color: oklch(55.9% 0.219 309.3);
Tailwind
colors: {
  custom: {
    50: '#bc7be1',
    500: '#9a3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fd2;
$custom-light: #bc7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fd2",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 277.143,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.21872,
    "h": 309.3
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#9A3FD2
secondary
#AFD697
accent
#E54381
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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