#9F61DA#9F61DA

#9F61DA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.182 H 305.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9F61DA
RGBrgb(159, 97, 218)
HSLhsl(271, 62%, 62%)
HSVhsv(271, 56%, 85%)
CMYKcmyk(27.1%, 55.5%, 0%, 14.5%)
CIE-LABlab(52.93, 47.89, -52.71)
CIE-LCHlch(52.93, 71.22, 312.26°)
OKLaboklab(61.44% 0.1053 -0.1485)
OKLCHoklch(61.44% 0.182 305.3)
XYZxyz(31.2249, 20.9825, 68.7211)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F61DA #9CDA61
analogous
#6361DA #9F61DA #DA61D8
triadic
#9F61DA #DA9F61 #61DA9F
tetradic
#9F61DA #DA6361 #9CDA61 #61D8DA
square
#9F61DA #DA6361 #9CDA61 #61D8DA
split-complementary
#9F61DA #D8DA61 #61DA63
monochromatic
#62259C #8130CE #9F61DA #BD93E6 #DBC4F1

Accessibility & contrast

On white

4.04
#9F61DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9F61DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F61DA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F61DA#FFFFFF#000000##000000
##9F61DA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDE
Deuteranopia (green-blind)
#4B7FD7
Tritanopia (blue-blind)
#957894
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f61da;
/* rgb */ color: rgb(159, 97, 218);
/* oklch */ color: oklch(61.4% 0.182 305.3);
Tailwind
colors: {
  custom: {
    50: '#bf90e6',
    500: '#9f61da',
    950: '#000000',
  },
}
SCSS
$custom: #9f61da;
$custom-light: #bf90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f61da",
  "rgb": {
    "r": 159,
    "g": 97,
    "b": 218
  },
  "hsl": {
    "h": 270.744,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.18206,
    "h": 305.3
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#9F61DA
secondary
#CBE2B5
accent
#CA1C71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F61DA

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

Preview Lab → · Contrast checker → · Palette generator →

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