#9A3FE3#9A3FE3

#9A3FE3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.235 H 305.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9A3FE3
RGBrgb(154, 63, 227)
HSLhsl(273, 75%, 57%)
HSVhsv(273, 72%, 89%)
CMYKcmyk(32.2%, 72.2%, 0%, 11%)
CIE-LABlab(46.94, 65.20, -67.50)
CIE-LCHlch(46.94, 93.84, 314.01°)
OKLaboklab(57.17% 0.1361 -0.192)
OKLCHoklch(57.17% 0.235 305.3)
XYZxyz(28.9660, 15.9713, 74.2149)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FE3 #88E33F
analogous
#483FE3 #9A3FE3 #E33FDA
triadic
#9A3FE3 #E39A3F #3FE39A
tetradic
#9A3FE3 #E3483F #88E33F #3FDAE3
square
#9A3FE3 #E3483F #88E33F #3FDAE3
split-complementary
#9A3FE3 #DAE33F #3FE348
monochromatic
#5B1592 #7C1DC8 #9A3FE3 #B674EB #D2AAF3

Accessibility & contrast

On white

5.01
#9A3FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9A3FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FE3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FE3#FFFFFF#000000##FFFFFF
##9A3FE31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#8D678E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a3fe3;
/* rgb */ color: rgb(154, 63, 227);
/* oklch */ color: oklch(57.2% 0.235 305.3);
Tailwind
colors: {
  custom: {
    50: '#bd7ced',
    500: '#9a3fe3',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fe3;
$custom-light: #bd7ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fe3",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 273.293,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.23529,
    "h": 305.3
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#9A3FE3
secondary
#BBE09D
accent
#F1378A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9A3FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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