#9D61CD#9D61CD

#9D61CD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.166 H 307.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D61CD
RGBrgb(157, 97, 205)
HSLhsl(273, 52%, 59%)
HSVhsv(273, 53%, 80%)
CMYKcmyk(23.4%, 52.7%, 0%, 19.6%)
CIE-LABlab(51.98, 44.35, -46.85)
CIE-LCHlch(51.98, 64.51, 313.43°)
OKLaboklab(60.46% 0.1021 -0.1314)
OKLCHoklch(60.46% 0.166 307.8)
XYZxyz(29.1966, 20.1256, 60.0923)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D61CD #91CD61
analogous
#6761CD #9D61CD #CD61C7
triadic
#9D61CD #CD9D61 #61CD9D
tetradic
#9D61CD #CD6761 #91CD61 #61C7CD
square
#9D61CD #CD6761 #91CD61 #61C7CD
split-complementary
#9D61CD #C7CD61 #61CD67
monochromatic
#5F2B88 #7F3AB7 #9D61CD #BA8FDC #D7BEEA

Accessibility & contrast

On white

4.18
#9D61CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9D61CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D61CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D61CD#FFFFFF#000000##000000
##9D61CD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#537DCA
Tritanopia (blue-blind)
#96748E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d61cd;
/* rgb */ color: rgb(157, 97, 205);
/* oklch */ color: oklch(60.5% 0.166 307.8);
Tailwind
colors: {
  custom: {
    50: '#bc90dd',
    500: '#9d61cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d61cd;
$custom-light: #bc90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d61cd",
  "rgb": {
    "r": 157,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 273.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.16642,
    "h": 307.8
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#9D61CD
secondary
#C3DAB0
accent
#DB4C8C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #9D61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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