#9D74CD#9D74CD

#9D74CD is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.136 H 304.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9D74CD
RGBrgb(157, 116, 205)
HSLhsl(268, 47%, 63%)
HSVhsv(268, 43%, 80%)
CMYKcmyk(23.4%, 43.4%, 0%, 19.6%)
CIE-LABlab(56.15, 33.78, -40.24)
CIE-LCHlch(56.15, 52.54, 310.01°)
OKLaboklab(63.57% 0.0759 -0.1123)
OKLCHoklch(63.57% 0.136 304)
XYZxyz(31.1671, 24.0668, 60.7492)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74CD #A4CD74
analogous
#7477CD #9D74CD #C974CD
triadic
#9D74CD #CD9D74 #74CD9D
tetradic
#9D74CD #CD7477 #A4CD74 #74CDC9
square
#9D74CD #CD7477 #A4CD74 #74CDC9
split-complementary
#9D74CD #CDC974 #77CD74
monochromatic
#603592 #7D47BD #9D74CD #BDA1DD #DCCEED

Accessibility & contrast

On white

3.61
#9D74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9D74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74CD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74CD#FFFFFF#000000##000000
##9D74CD1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D0
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#958397
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d74cd;
/* rgb */ color: rgb(157, 116, 205);
/* oklch */ color: oklch(63.6% 0.136 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc9ddc',
    500: '#9d74cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d74cd;
$custom-light: #bc9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74cd",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 267.64,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.13552,
    "h": 304
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#9D74CD
secondary
#D0DEBE
accent
#BA2B78
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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