#9A3FDA#9A3FDA

#9A3FDA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.227 H 307.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9A3FDA
RGBrgb(154, 63, 218)
HSLhsl(275, 68%, 55%)
HSVhsv(275, 71%, 85%)
CMYKcmyk(29.4%, 71.1%, 0%, 14.5%)
CIE-LABlab(46.29, 63.21, -63.42)
CIE-LCHlch(46.29, 89.54, 314.91°)
OKLaboklab(56.51% 0.1376 -0.18)
OKLCHoklch(56.51% 0.227 307.4)
XYZxyz(27.7561, 15.4874, 67.8432)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FDA #7FDA3F
analogous
#4C3FDA #9A3FDA #DA3FCC
triadic
#9A3FDA #DA9A3F #3FDA9A
tetradic
#9A3FDA #DA4C3F #7FDA3F #3FCCDA
square
#9A3FDA #DA4C3F #7FDA3F #3FCCDA
split-complementary
#9A3FDA #CCDA3F #3FDA4C
monochromatic
#591A85 #7B24B8 #9A3FDA #B572E4 #D0A6EE

Accessibility & contrast

On white

5.13
#9A3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9A3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FDA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FDA#FFFFFF#000000##FFFFFF
##9A3FDA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#056ED7
Tritanopia (blue-blind)
#8F6389
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a3fda;
/* rgb */ color: rgb(154, 63, 218);
/* oklch */ color: oklch(56.5% 0.227 307.4);
Tailwind
colors: {
  custom: {
    50: '#bd7ce6',
    500: '#9a3fda',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fda;
$custom-light: #bd7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fda",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 275.226,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.22652,
    "h": 307.4
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#9A3FDA
secondary
#B5DB9A
accent
#EB3D85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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