#9D74ED#9D74ED

#9D74ED is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.4% C 0.176 H 296.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9D74ED
RGBrgb(157, 116, 237)
HSLhsl(260, 77%, 69%)
HSVhsv(260, 51%, 93%)
CMYKcmyk(33.8%, 51.1%, 0%, 7.1%)
CIE-LABlab(57.82, 41.66, -55.58)
CIE-LCHlch(57.82, 69.46, 306.85°)
OKLaboklab(65.36% 0.0796 -0.157)
OKLCHoklch(65.36% 0.176 296.9)
XYZxyz(35.4323, 25.7728, 83.2122)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74ED #C4ED74
analogous
#7488ED #9D74ED #DA74ED
triadic
#9D74ED #ED9D74 #74ED9D
tetradic
#9D74ED #ED7488 #C4ED74 #74EDDA
square
#9D74ED #ED7488 #C4ED74 #74EDDA
split-complementary
#9D74ED #EDDA74 #88ED74
monochromatic
#571ACC #773EE6 #9D74ED #C3AAF4 #E9E0FB

Accessibility & contrast

On white

3.41
#9D74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9D74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74ED
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74ED#FFFFFF#000000##000000
##9D74ED1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#8B8CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d74ed;
/* rgb */ color: rgb(157, 116, 237);
/* oklch */ color: oklch(65.4% 0.176 296.9);
Tailwind
colors: {
  custom: {
    50: '#bd9df3',
    500: '#9d74ed',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ed;
$custom-light: #bd9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ed",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 260.331,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.17604,
    "h": 296.9
  },
  "luminance": 0.25773
}

Semantic roles & 50–950 ramp

primary
#9D74ED
secondary
#E4F0CD
accent
#D90C94
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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