#9F6CF5#9F6CF5

#9F6CF5 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.8% C 0.198 H 297.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9F6CF5
RGBrgb(159, 108, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.1%, 55.9%, 0%, 3.9%)
CIE-LABlab(56.77, 48.56, -61.69)
CIE-LCHlch(56.77, 78.51, 308.21°)
OKLaboklab(64.78% 0.0923 -0.1749)
OKLCHoklch(64.78% 0.198 297.8)
XYZxyz(36.1380, 24.6882, 89.2299)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6CF5 #C2F56C
analogous
#6C7EF5 #9F6CF5 #E46CF5
triadic
#9F6CF5 #F59F6C #6CF59F
tetradic
#9F6CF5 #F56C7E #C2F56C #6CF5E4
square
#9F6CF5 #F56C7E #C2F56C #6CF5E4
split-complementary
#9F6CF5 #F5E46C #7EF56C
monochromatic
#5A0FD8 #7A33F1 #9F6CF5 #C4A5F9 #EADFFD

Accessibility & contrast

On white

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

On black

5.94
#9F6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6CF5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6CF5#FFFFFF#000000##000000
##9F6CF51.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FA
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#8C88A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6cf5;
/* rgb */ color: rgb(159, 108, 245);
/* oklch */ color: oklch(64.8% 0.198 297.8);
Tailwind
colors: {
  custom: {
    50: '#c098f9',
    500: '#9f6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9f6cf5;
$custom-light: #c098f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6cf5",
  "rgb": {
    "r": 159,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 262.336,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64777,
    "c": 0.19774,
    "h": 297.8
  },
  "luminance": 0.24689
}

Semantic roles & 50–950 ramp

primary
#9F6CF5
secondary
#E3F2CA
accent
#E40290
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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