#9D6BEF#9D6BEF

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

Color values

HEX#9D6BEF
RGBrgb(157, 107, 239)
HSLhsl(263, 80%, 68%)
HSVhsv(263, 55%, 94%)
CMYKcmyk(34.3%, 55.2%, 0%, 6.3%)
CIE-LABlab(56.00, 47.13, -59.60)
CIE-LCHlch(56.00, 75.98, 308.34°)
OKLaboklab(64.05% 0.0909 -0.1688)
OKLCHoklch(64.05% 0.192 298.3)
XYZxyz(34.7385, 23.9151, 84.4305)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6BEF #BDEF6B
analogous
#6B7BEF #9D6BEF #DF6BEF
triadic
#9D6BEF #EF9D6B #6BEF9D
tetradic
#9D6BEF #EF6B7B #BDEF6B #6BEFDF
square
#9D6BEF #EF6B7B #BDEF6B #6BEFDF
split-complementary
#9D6BEF #EFDF6B #7BEF6B
monochromatic
#5A16CA #7834E9 #9D6BEF #C2A2F5 #E6D9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D6BEF#FFFFFF#000000##000000
##9D6BEF1.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)
#3086F3
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#8B86A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d6bef;
/* rgb */ color: rgb(157, 107, 239);
/* oklch */ color: oklch(64.0% 0.192 298.3);
Tailwind
colors: {
  custom: {
    50: '#be97f5',
    500: '#9d6bef',
    950: '#000000',
  },
}
SCSS
$custom: #9d6bef;
$custom-light: #be97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6bef",
  "rgb": {
    "r": 157,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 262.727,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.19171,
    "h": 298.3
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#9D6BEF
secondary
#E0EFC7
accent
#DD098C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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