#9A3CD7#9A3CD7

#9A3CD7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.0% C 0.227 H 308.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9A3CD7
RGBrgb(154, 60, 215)
HSLhsl(276, 66%, 54%)
HSVhsv(276, 72%, 84%)
CMYKcmyk(28.4%, 72.1%, 0%, 15.7%)
CIE-LABlab(45.65, 63.80, -62.75)
CIE-LCHlch(45.65, 89.49, 315.47°)
OKLaboklab(55.99% 0.1409 -0.178)
OKLCHoklch(55.99% 0.227 308.4)
XYZxyz(27.2055, 15.0085, 65.7405)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CD7 #79D73C
analogous
#4D3CD7 #9A3CD7 #D73CC7
triadic
#9A3CD7 #D79A3C #3CD79A
tetradic
#9A3CD7 #D74D3C #79D73C #3CC7D7
square
#9A3CD7 #D74D3C #79D73C #3CC7D7
split-complementary
#9A3CD7 #C7D73C #3CD74D
monochromatic
#571A7F #7A24B1 #9A3CD7 #B46FE1 #CFA2EC

Accessibility & contrast

On white

5.25
#9A3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9A3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CD7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CD7#FFFFFF#000000##FFFFFF
##9A3CD71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#096DD4
Tritanopia (blue-blind)
#906086
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a3cd7;
/* rgb */ color: rgb(154, 60, 215);
/* oklch */ color: oklch(56.0% 0.227 308.4);
Tailwind
colors: {
  custom: {
    50: '#bd7ae4',
    500: '#9a3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cd7;
$custom-light: #bd7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cd7",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 276.387,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.22702,
    "h": 308.4
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#9A3CD7
secondary
#B0D896
accent
#E93F82
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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