#9D74EF#9D74EF

#9D74EF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.179 H 296.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9D74EF
RGBrgb(157, 116, 239)
HSLhsl(260, 79%, 70%)
HSVhsv(260, 51%, 94%)
CMYKcmyk(34.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(57.93, 42.17, -56.51)
CIE-LCHlch(57.93, 70.51, 306.73°)
OKLaboklab(65.48% 0.0798 -0.1597)
OKLCHoklch(65.48% 0.179 296.5)
XYZxyz(35.7261, 25.8903, 84.7597)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74EF #C6EF74
analogous
#7489EF #9D74EF #DB74EF
triadic
#9D74EF #EF9D74 #74EF9D
tetradic
#9D74EF #EF7489 #C6EF74 #74EFDB
square
#9D74EF #EF7489 #C6EF74 #74EFDB
split-complementary
#9D74EF #EFDB74 #89EF74
monochromatic
#5618D1 #763DE9 #9D74EF #C4ABF5 #EAE2FC

Accessibility & contrast

On white

3.40
#9D74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9D74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74EF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74EF#FFFFFF#000000##000000
##9D74EF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#8A8CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d74ef;
/* rgb */ color: rgb(157, 116, 239);
/* oklch */ color: oklch(65.5% 0.179 296.5);
Tailwind
colors: {
  custom: {
    50: '#be9df5',
    500: '#9d74ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ef;
$custom-light: #be9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ef",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65478,
    "c": 0.17855,
    "h": 296.5
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#9D74EF
secondary
#E5F1CE
accent
#DC0A96
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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