#9D74EE#9D74EE

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

Color values

HEX#9D74EE
RGBrgb(157, 116, 238)
HSLhsl(260, 78%, 69%)
HSVhsv(260, 51%, 93%)
CMYKcmyk(34%, 51.3%, 0%, 6.7%)
CIE-LABlab(57.88, 41.91, -56.04)
CIE-LCHlch(57.88, 69.98, 306.79°)
OKLaboklab(65.42% 0.0797 -0.1584)
OKLCHoklch(65.42% 0.177 296.7)
XYZxyz(35.5788, 25.8314, 83.9838)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74EE #C5EE74
analogous
#7488EE #9D74EE #DA74EE
triadic
#9D74EE #EE9D74 #74EE9D
tetradic
#9D74EE #EE7488 #C5EE74 #74EEDA
square
#9D74EE #EE7488 #C5EE74 #74EEDA
split-complementary
#9D74EE #EEDA74 #88EE74
monochromatic
#5619CE #773DE7 #9D74EE #C3ABF5 #EAE1FB

Accessibility & contrast

On white

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

On black

6.17
#9D74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74EE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74EE#FFFFFF#000000##000000
##9D74EE1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#8B8CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d74ee;
/* rgb */ color: rgb(157, 116, 238);
/* oklch */ color: oklch(65.4% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#be9df4',
    500: '#9d74ee',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ee;
$custom-light: #be9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ee",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 260.164,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65418,
    "c": 0.1773,
    "h": 296.7
  },
  "luminance": 0.25832
}

Semantic roles & 50–950 ramp

primary
#9D74EE
secondary
#E5F0CD
accent
#DA0B95
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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