#9D74CA#9D74CA

#9D74CA is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.4% C 0.132 H 304.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D74CA
RGBrgb(157, 116, 202)
HSLhsl(269, 45%, 62%)
HSVhsv(269, 43%, 79%)
CMYKcmyk(22.3%, 42.6%, 0%, 20.8%)
CIE-LABlab(56.01, 33.07, -38.77)
CIE-LCHlch(56.01, 50.96, 310.47°)
OKLaboklab(63.42% 0.0754 -0.108)
OKLCHoklch(63.42% 0.132 304.9)
XYZxyz(30.8085, 23.9233, 58.8603)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74CA #A1CA74
analogous
#7476CA #9D74CA #C874CA
triadic
#9D74CA #CA9D74 #74CA9D
tetradic
#9D74CA #CA7476 #A1CA74 #74CAC8
square
#9D74CA #CA7476 #A1CA74 #74CAC8
split-complementary
#9D74CA #CAC874 #76CA74
monochromatic
#60368E #7E48B9 #9D74CA #BCA0DB #DBCDEC

Accessibility & contrast

On white

3.63
#9D74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9D74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74CA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74CA#FFFFFF#000000##000000
##9D74CA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#968295
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d74ca;
/* rgb */ color: rgb(157, 116, 202);
/* oklch */ color: oklch(63.4% 0.132 304.9);
Tailwind
colors: {
  custom: {
    50: '#bb9cda',
    500: '#9d74ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ca;
$custom-light: #bb9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ca",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 268.605,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.13171,
    "h": 304.9
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#9D74CA
secondary
#CEDDBD
accent
#B82E76
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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