#9D6CF2#9D6CF2

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

Color values

HEX#9D6CF2
RGBrgb(157, 108, 242)
HSLhsl(262, 84%, 69%)
HSVhsv(262, 55%, 95%)
CMYKcmyk(35.1%, 55.4%, 0%, 5.1%)
CIE-LABlab(56.39, 47.34, -60.65)
CIE-LCHlch(56.39, 76.94, 307.98°)
OKLaboklab(64.39% 0.0897 -0.1719)
OKLCHoklch(64.39% 0.194 297.6)
XYZxyz(35.2902, 24.3035, 86.8190)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6CF2 #C1F26C
analogous
#6C7EF2 #9D6CF2 #E06CF2
triadic
#9D6CF2 #F29D6C #6CF29D
tetradic
#9D6CF2 #F26C7E #C1F26C #6CF2E0
square
#9D6CF2 #F26C7E #C1F26C #6CF2E0
split-complementary
#9D6CF2 #F2E06C #7EF26C
monochromatic
#5812D1 #7834ED #9D6CF2 #C2A4F7 #E8DCFC

Accessibility & contrast

On white

3.58
#9D6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D6CF2#FFFFFF#000000##000000
##9D6CF21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#8A87A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d6cf2;
/* rgb */ color: rgb(157, 108, 242);
/* oklch */ color: oklch(64.4% 0.194 297.6);
Tailwind
colors: {
  custom: {
    50: '#be98f7',
    500: '#9d6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #9d6cf2;
$custom-light: #be98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6cf2",
  "rgb": {
    "r": 157,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 261.94,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.19389,
    "h": 297.6
  },
  "luminance": 0.24304
}

Semantic roles & 50–950 ramp

primary
#9D6CF2
secondary
#E2F1C9
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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