#9A4CD7#9A4CD7

#9A4CD7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.207 H 306.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A4CD7
RGBrgb(154, 76, 215)
HSLhsl(274, 63%, 57%)
HSVhsv(274, 65%, 84%)
CMYKcmyk(28.4%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.19, 56.69, -58.64)
CIE-LCHlch(48.19, 81.57, 314.03°)
OKLaboklab(57.81% 0.1242 -0.166)
OKLCHoklch(57.81% 0.207 306.8)
XYZxyz(28.1740, 16.9455, 66.0634)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CD7 #89D74C
analogous
#554CD7 #9A4CD7 #D74CCF
triadic
#9A4CD7 #D79A4C #4CD79A
tetradic
#9A4CD7 #D7554C #89D74C #4CCFD7
square
#9A4CD7 #D7554C #89D74C #4CCFD7
split-complementary
#9A4CD7 #CFD74C #4CD755
monochromatic
#5B1F8A #7C2ABC #9A4CD7 #B67EE2 #D2B0ED

Accessibility & contrast

On white

4.78
#9A4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9A4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CD7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CD7#FFFFFF#000000##FFFFFF
##9A4CD71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#90698B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a4cd7;
/* rgb */ color: rgb(154, 76, 215);
/* oklch */ color: oklch(57.8% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc83e4',
    500: '#9a4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cd7;
$custom-light: #bc83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cd7",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 273.669,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.20734,
    "h": 306.8
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#9A4CD7
secondary
#BCDCA3
accent
#E6418A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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