#9D74BB#9D74BB

#9D74BB is a light, moderate violet. Relative luminance 0.232; OKLCH L 62.7% C 0.113 H 310.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D74BB
RGBrgb(157, 116, 187)
HSLhsl(275, 34%, 59%)
HSVhsv(275, 38%, 73%)
CMYKcmyk(16%, 38%, 0%, 26.7%)
CIE-LABlab(55.33, 29.62, -31.28)
CIE-LCHlch(55.33, 43.08, 313.44°)
OKLaboklab(62.68% 0.0724 -0.0864)
OKLCHoklch(62.68% 0.113 310)
XYZxyz(29.1180, 23.2471, 49.9573)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74BB #92BB74
analogous
#7A74BB #9D74BB #BB74B6
triadic
#9D74BB #BB9D74 #74BB9D
tetradic
#9D74BB #BB7A74 #92BB74 #74B6BB
square
#9D74BB #BB7A74 #92BB74 #74B6BB
split-complementary
#9D74BB #B6BB74 #74BB7A
monochromatic
#5F3B79 #7F4FA2 #9D74BB #BA9DCF #D7C6E3

Accessibility & contrast

On white

3.72
#9D74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9D74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74BB#FFFFFF#000000##000000
##9D74BB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#7085B9
Tritanopia (blue-blind)
#9A7E8F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d74bb;
/* rgb */ color: rgb(157, 116, 187);
/* oklch */ color: oklch(62.7% 0.113 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb9ccf',
    500: '#9d74bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d74bb;
$custom-light: #bb9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74bb",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 274.648,
    "s": 34.3,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.11274,
    "h": 310
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#9D74BB
secondary
#C3D3B8
accent
#CA5D8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9D74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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