#9D61EC#9D61EC

#9D61EC is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.4% C 0.202 H 300.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D61EC
RGBrgb(157, 97, 236)
HSLhsl(266, 79%, 65%)
HSVhsv(266, 59%, 93%)
CMYKcmyk(33.5%, 58.9%, 0%, 7.5%)
CIE-LABlab(53.79, 51.74, -61.49)
CIE-LCHlch(53.79, 80.36, 310.08°)
OKLaboklab(62.37% 0.1028 -0.1743)
OKLCHoklch(62.37% 0.202 300.5)
XYZxyz(33.3160, 21.7734, 81.7881)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D61EC #B0EC61
analogous
#616BEC #9D61EC #E261EC
triadic
#9D61EC #EC9D61 #61EC9D
tetradic
#9D61EC #EC616B #B0EC61 #61ECE2
square
#9D61EC #EC616B #B0EC61 #61ECE2
split-complementary
#9D61EC #ECE261 #6BEC61
monochromatic
#5E17BC #7B2AE5 #9D61EC #BF98F3 #E1CEF9

Accessibility & contrast

On white

3.92
#9D61EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9D61EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D61EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D61EC#FFFFFF#000000##000000
##9D61EC1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F0
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#8C7E9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d61ec;
/* rgb */ color: rgb(157, 97, 236);
/* oklch */ color: oklch(62.4% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#be90f3',
    500: '#9d61ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d61ec;
$custom-light: #be90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d61ec",
  "rgb": {
    "r": 157,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 265.899,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62366,
    "c": 0.2024,
    "h": 300.5
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#9D61EC
secondary
#D8ECBD
accent
#DB0B81
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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