#9D6EFB#9D6EFB

#9D6EFB is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.3% C 0.202 H 295.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D6EFB
RGBrgb(157, 110, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.5%, 56.2%, 0%, 1.6%)
CIE-LABlab(57.35, 48.55, -64.09)
CIE-LCHlch(57.35, 80.40, 307.14°)
OKLaboklab(65.27% 0.0874 -0.182)
OKLCHoklch(65.27% 0.202 295.7)
XYZxyz(36.8886, 25.2843, 94.1849)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6EFB #CCFB6E
analogous
#6E85FB #9D6EFB #E36EFB
triadic
#9D6EFB #FB9D6E #6EFB9D
tetradic
#9D6EFB #FB6E85 #CCFB6E #6EFBE3
square
#9D6EFB #FB6E85 #CCFB6E #6EFBE3
split-complementary
#9D6EFB #FBE36E #85FB6E
monochromatic
#5206E8 #7532F9 #9D6EFB #C5AAFD #EBE1FE

Accessibility & contrast

On white

3.47
#9D6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9D6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6EFB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6EFB#FFFFFF#000000##000000
##9D6EFB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#3788F8
Tritanopia (blue-blind)
#868CAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6efb;
/* rgb */ color: rgb(157, 110, 251);
/* oklch */ color: oklch(65.3% 0.202 295.7);
Tailwind
colors: {
  custom: {
    50: '#bf99fd',
    500: '#9d6efb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6efb;
$custom-light: #bf99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6efb",
  "rgb": {
    "r": 157,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65274,
    "c": 0.20192,
    "h": 295.7
  },
  "luminance": 0.25285
}

Semantic roles & 50–950 ramp

primary
#9D6EFB
secondary
#E9F5CF
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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