#9A3EC2#9A3EC2

#9A3EC2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.7% C 0.204 H 313.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9A3EC2
RGBrgb(154, 62, 194)
HSLhsl(282, 52%, 50%)
HSVhsv(282, 68%, 76%)
CMYKcmyk(20.6%, 68%, 0%, 23.9%)
CIE-LABlab(44.53, 58.52, -52.43)
CIE-LCHlch(44.53, 78.57, 318.14°)
OKLaboklab(54.75% 0.1414 -0.1477)
OKLCHoklch(54.75% 0.204 313.8)
XYZxyz(24.7850, 14.2111, 52.4659)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3EC2 #66C23E
analogous
#583EC2 #9A3EC2 #C23EA8
triadic
#9A3EC2 #C29A3E #3EC29A
tetradic
#9A3EC2 #C2583E #66C23E #3EA8C2
square
#9A3EC2 #C2583E #66C23E #3EA8C2
split-complementary
#9A3EC2 #A8C23E #3EC258
monochromatic
#502066 #752F94 #9A3EC2 #B26DD1 #CB9BDF

Accessibility & contrast

On white

5.47
#9A3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9A3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3EC2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3EC2#FFFFFF#000000##FFFFFF
##9A3EC21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#366BBF
Tritanopia (blue-blind)
#96597B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3ec2;
/* rgb */ color: rgb(154, 62, 194);
/* oklch */ color: oklch(54.7% 0.204 313.8);
Tailwind
colors: {
  custom: {
    50: '#bc7ad5',
    500: '#9a3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ec2;
$custom-light: #bc7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ec2",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 281.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.20446,
    "h": 313.8
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#9A3EC2
secondary
#A2CB90
accent
#DB4C78
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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