#9D6FEF#9D6FEF

#9D6FEF is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.186 H 297.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D6FEF
RGBrgb(157, 111, 239)
HSLhsl(262, 80%, 69%)
HSVhsv(262, 54%, 94%)
CMYKcmyk(34.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.85, 44.94, -58.24)
CIE-LCHlch(56.85, 73.57, 307.65°)
OKLaboklab(64.68% 0.086 -0.1648)
OKLCHoklch(64.68% 0.186 297.5)
XYZxyz(35.1652, 24.7685, 84.5727)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FEF #C1EF6F
analogous
#6F81EF #9D6FEF #DD6FEF
triadic
#9D6FEF #EF9D6F #6FEF9D
tetradic
#9D6FEF #EF6F81 #C1EF6F #6FEFDD
square
#9D6FEF #EF6F81 #C1EF6F #6FEFDD
split-complementary
#9D6FEF #EFDD6F #81EF6F
monochromatic
#5817CD #7838E9 #9D6FEF #C2A6F5 #E8DDFB

Accessibility & contrast

On white

3.53
#9D6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9D6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FEF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FEF#FFFFFF#000000##000000
##9D6FEF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#8B89A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6fef;
/* rgb */ color: rgb(157, 111, 239);
/* oklch */ color: oklch(64.7% 0.186 297.5);
Tailwind
colors: {
  custom: {
    50: '#be99f5',
    500: '#9d6fef',
    950: '#000000',
  },
}
SCSS
$custom: #9d6fef;
$custom-light: #be99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6fef",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 261.563,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64675,
    "c": 0.1859,
    "h": 297.5
  },
  "luminance": 0.24769
}

Semantic roles & 50–950 ramp

primary
#9D6FEF
secondary
#E2F0CA
accent
#DC0990
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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