#9D6BFB#9D6BFB

#9D6BFB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.8% C 0.206 H 296.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9D6BFB
RGBrgb(157, 107, 251)
HSLhsl(261, 95%, 70%)
HSVhsv(261, 57%, 98%)
CMYKcmyk(37.5%, 57.4%, 0%, 1.6%)
CIE-LABlab(56.73, 50.17, -65.09)
CIE-LCHlch(56.73, 82.18, 307.62°)
OKLaboklab(64.82% 0.0909 -0.1849)
OKLCHoklch(64.82% 0.206 296.2)
XYZxyz(36.5704, 24.6479, 94.0788)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6BFB #C9FB6B
analogous
#6B81FB #9D6BFB #E56BFB
triadic
#9D6BFB #FB9D6B #6BFB9D
tetradic
#9D6BFB #FB6B81 #C9FB6B #6BFBE5
square
#9D6BFB #FB6B81 #C9FB6B #6BFBE5
split-complementary
#9D6BFB #FBE56B #81FB6B
monochromatic
#5406E5 #762FF9 #9D6BFB #C4A7FD #EBE1FE

Accessibility & contrast

On white

3.54
#9D6BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9D6BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6BFB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6BFB#FFFFFF#000000##000000
##9D6BFB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#3186F8
Tritanopia (blue-blind)
#868AA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6bfb;
/* rgb */ color: rgb(157, 107, 251);
/* oklch */ color: oklch(64.8% 0.206 296.2);
Tailwind
colors: {
  custom: {
    50: '#bf97fd',
    500: '#9d6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6bfb;
$custom-light: #bf97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6bfb",
  "rgb": {
    "r": 157,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 260.833,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64819,
    "c": 0.20608,
    "h": 296.2
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#9D6BFB
secondary
#E7F5CD
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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