#9A3DCE#9A3DCE

#9A3DCE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.217 H 310.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9A3DCE
RGBrgb(154, 61, 206)
HSLhsl(278, 60%, 52%)
HSVhsv(278, 70%, 81%)
CMYKcmyk(25.2%, 70.4%, 0%, 19.2%)
CIE-LABlab(45.17, 61.46, -58.35)
CIE-LCHlch(45.17, 84.75, 316.49°)
OKLaboklab(55.45% 0.1412 -0.1651)
OKLCHoklch(55.45% 0.217 310.5)
XYZxyz(26.1336, 14.6643, 59.8344)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3DCE #71CE3D
analogous
#523DCE #9A3DCE #CE3DB9
triadic
#9A3DCE #CE9A3D #3DCE9A
tetradic
#9A3DCE #CE523D #71CE3D #3DB9CE
square
#9A3DCE #CE523D #71CE3D #3DB9CE
split-complementary
#9A3DCE #B9CE3D #3DCE52
monochromatic
#541D73 #7829A4 #9A3DCE #B36EDA #CD9FE7

Accessibility & contrast

On white

5.34
#9A3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9A3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3DCE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3DCE#FFFFFF#000000##FFFFFF
##9A3DCE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#256CCB
Tritanopia (blue-blind)
#935D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3dce;
/* rgb */ color: rgb(154, 61, 206);
/* oklch */ color: oklch(55.5% 0.217 310.5);
Tailwind
colors: {
  custom: {
    50: '#bc7ade',
    500: '#9a3dce',
    950: '#000000',
  },
}
SCSS
$custom: #9a3dce;
$custom-light: #bc7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3dce",
  "rgb": {
    "r": 154,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 278.483,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55453,
    "c": 0.21723,
    "h": 310.5
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#9A3DCE
secondary
#AAD394
accent
#E3457E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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