#9D6BF5#9D6BF5

#9D6BF5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.199 H 297.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D6BF5
RGBrgb(157, 107, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.9%, 56.3%, 0%, 3.9%)
CIE-LABlab(56.36, 48.64, -62.36)
CIE-LCHlch(56.36, 79.09, 307.96°)
OKLaboklab(64.43% 0.0909 -0.1769)
OKLCHoklch(64.43% 0.199 297.2)
XYZxyz(35.6396, 24.2755, 89.1765)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6BF5 #C3F56B
analogous
#6B7EF5 #9D6BF5 #E26BF5
triadic
#9D6BF5 #F59D6B #6BF59D
tetradic
#9D6BF5 #F56B7E #C3F56B #6BF5E2
square
#9D6BF5 #F56B7E #C3F56B #6BF5E2
split-complementary
#9D6BF5 #F5E26B #7EF56B
monochromatic
#570FD7 #7732F1 #9D6BF5 #C3A4F9 #E9DEFD

Accessibility & contrast

On white

3.59
#9D6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9D6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6BF5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6BF5#FFFFFF#000000##000000
##9D6BF51.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#3A86F2
Tritanopia (blue-blind)
#8988A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d6bf5;
/* rgb */ color: rgb(157, 107, 245);
/* oklch */ color: oklch(64.4% 0.199 297.2);
Tailwind
colors: {
  custom: {
    50: '#bf97f9',
    500: '#9d6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #9d6bf5;
$custom-light: #bf97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6bf5",
  "rgb": {
    "r": 157,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 261.739,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.19891,
    "h": 297.2
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#9D6BF5
secondary
#E3F2CA
accent
#E40292
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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