#9D6FFB#9D6FFB

#9D6FFB is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.4% C 0.201 H 295.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D6FFB
RGBrgb(157, 111, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.5%, 55.8%, 0%, 1.6%)
CIE-LABlab(57.56, 48.00, -63.76)
CIE-LCHlch(57.56, 79.81, 306.97°)
OKLaboklab(65.43% 0.0862 -0.181)
OKLCHoklch(65.43% 0.201 295.5)
XYZxyz(36.9971, 25.5013, 94.2211)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FFB #CDFB6F
analogous
#6F87FB #9D6FFB #E36FFB
triadic
#9D6FFB #FB9D6F #6FFB9D
tetradic
#9D6FFB #FB6F87 #CDFB6F #6FFBE3
square
#9D6FFB #FB6F87 #CDFB6F #6FFBE3
split-complementary
#9D6FFB #FBE36F #87FB6F
monochromatic
#5106E9 #7433F9 #9D6FFB #C6ABFD #EBE1FE

Accessibility & contrast

On white

3.44
#9D6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9D6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FFB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FFB#FFFFFF#000000##000000
##9D6FFB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#288BFF
Deuteranopia (green-blind)
#3988F8
Tritanopia (blue-blind)
#868CAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d6ffb;
/* rgb */ color: rgb(157, 111, 251);
/* oklch */ color: oklch(65.4% 0.201 295.5);
Tailwind
colors: {
  custom: {
    50: '#bf9afd',
    500: '#9d6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #9d6ffb;
$custom-light: #bf9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6ffb",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 259.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65428,
    "c": 0.20052,
    "h": 295.5
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#9D6FFB
secondary
#E9F6D0
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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