#9D6CF5#9D6CF5

#9D6CF5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.6% C 0.198 H 297.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D6CF5
RGBrgb(157, 108, 245)
HSLhsl(261, 87%, 69%)
HSVhsv(261, 56%, 96%)
CMYKcmyk(35.9%, 55.9%, 0%, 3.9%)
CIE-LABlab(56.57, 48.10, -62.03)
CIE-LCHlch(56.57, 78.49, 307.79°)
OKLaboklab(64.58% 0.0897 -0.1759)
OKLCHoklch(64.58% 0.198 297)
XYZxyz(35.7445, 24.4853, 89.2114)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CF5 #C4F56C
analogous
#6C80F5 #9D6CF5 #E26CF5
triadic
#9D6CF5 #F59D6C #6CF59D
tetradic
#9D6CF5 #F56C80 #C4F56C #6CF5E2
square
#9D6CF5 #F56C80 #C4F56C #6CF5E2
split-complementary
#9D6CF5 #F5E26C #80F56C
monochromatic
#570FD8 #7733F1 #9D6CF5 #C3A5F9 #E9DFFD

Accessibility & contrast

On white

3.56
#9D6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9D6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6CF5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6CF5#FFFFFF#000000##000000
##9D6CF51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#8988A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d6cf5;
/* rgb */ color: rgb(157, 108, 245);
/* oklch */ color: oklch(64.6% 0.198 297.0);
Tailwind
colors: {
  custom: {
    50: '#be98f9',
    500: '#9d6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9d6cf5;
$custom-light: #be98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6cf5",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 261.46,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64583,
    "c": 0.1975,
    "h": 297
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#9D6CF5
secondary
#E4F2CA
accent
#E40293
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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