#9D74BC#9D74BC

#9D74BC is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.7% C 0.114 H 309.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9D74BC
RGBrgb(157, 116, 188)
HSLhsl(274, 35%, 60%)
HSVhsv(274, 38%, 74%)
CMYKcmyk(16.5%, 38.3%, 0%, 26.3%)
CIE-LABlab(55.37, 29.85, -31.78)
CIE-LCHlch(55.37, 43.60, 313.20°)
OKLaboklab(62.72% 0.0726 -0.0879)
OKLCHoklch(62.72% 0.114 309.6)
XYZxyz(29.2255, 23.2901, 50.5230)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74BC #93BC74
analogous
#7974BC #9D74BC #BC74B7
triadic
#9D74BC #BC9D74 #74BC9D
tetradic
#9D74BC #BC7974 #93BC74 #74B7BC
square
#9D74BC #BC7974 #93BC74 #74B7BC
split-complementary
#9D74BC #B7BC74 #74BC79
monochromatic
#5F3B7B #7F4FA4 #9D74BC #BA9DD0 #D7C7E4

Accessibility & contrast

On white

3.71
#9D74BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9D74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74BC#FFFFFF#000000##000000
##9D74BC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#997E8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d74bc;
/* rgb */ color: rgb(157, 116, 188);
/* oklch */ color: oklch(62.7% 0.114 309.6);
Tailwind
colors: {
  custom: {
    50: '#bb9cd0',
    500: '#9d74bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d74bc;
$custom-light: #bb9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74bc",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 274.167,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.11399,
    "h": 309.6
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#9D74BC
secondary
#C4D4B8
accent
#CB5D8C
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9D74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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