#9A3FED#9A3FED

#9A3FED is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.9% C 0.245 H 303.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9A3FED
RGBrgb(154, 63, 237)
HSLhsl(271, 83%, 59%)
HSVhsv(271, 73%, 93%)
CMYKcmyk(35%, 73.4%, 0%, 7.1%)
CIE-LABlab(47.67, 67.43, -71.95)
CIE-LCHlch(47.67, 98.61, 313.14°)
OKLaboklab(57.92% 0.1341 -0.2051)
OKLCHoklch(57.92% 0.245 303.2)
XYZxyz(30.3864, 16.5395, 81.6959)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FED #92ED3F
analogous
#433FED #9A3FED #ED3FE9
triadic
#9A3FED #ED9A3F #3FED9A
tetradic
#9A3FED #ED433F #92ED3F #3FE9ED
square
#9A3FED #ED433F #92ED3F #3FE9ED
split-complementary
#9A3FED #E9ED3F #3FED43
monochromatic
#5C0FA2 #7C14DA #9A3FED #B777F2 #D5AFF7

Accessibility & contrast

On white

4.87
#9A3FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9A3FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FED#FFFFFF#000000##FFFFFF
##9A3FED1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#896B93
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a3fed;
/* rgb */ color: rgb(154, 63, 237);
/* oklch */ color: oklch(57.9% 0.245 303.2);
Tailwind
colors: {
  custom: {
    50: '#be7cf4',
    500: '#9a3fed',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fed;
$custom-light: #be7cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fed",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 237
  },
  "hsl": {
    "h": 271.379,
    "s": 82.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.24503,
    "h": 303.2
  },
  "luminance": 0.16539
}

Semantic roles & 50–950 ramp

primary
#9A3FED
secondary
#C2E6A2
accent
#F92F8F
background
#FCF7FF
surface
#F8EEFE
border
#D1C9D6
text
#130A17
muted
#827C85

Preview Lab

Preview with #9A3FED

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

Preview Lab → · Contrast checker → · Palette generator →

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