#9F6CF2#9F6CF2

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

Color values

HEX#9F6CF2
RGBrgb(159, 108, 242)
HSLhsl(263, 84%, 69%)
HSVhsv(263, 55%, 95%)
CMYKcmyk(34.3%, 55.4%, 0%, 5.1%)
CIE-LABlab(56.59, 47.81, -60.31)
CIE-LCHlch(56.59, 76.96, 308.40°)
OKLaboklab(64.59% 0.0922 -0.1708)
OKLCHoklch(64.59% 0.194 298.4)
XYZxyz(35.6837, 24.5064, 86.8374)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6CF2 #BFF26C
analogous
#6C7CF2 #9F6CF2 #E26CF2
triadic
#9F6CF2 #F29F6C #6CF29F
tetradic
#9F6CF2 #F26C7C #BFF26C #6CF2E2
square
#9F6CF2 #F26C7C #BFF26C #6CF2E2
split-complementary
#9F6CF2 #F2E26C #7CF26C
monochromatic
#5B12D1 #7A34ED #9F6CF2 #C4A4F7 #E8DCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F6CF2#FFFFFF#000000##000000
##9F6CF21.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)
#2F88F6
Deuteranopia (green-blind)
#4286EF
Tritanopia (blue-blind)
#8D87A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6cf2;
/* rgb */ color: rgb(159, 108, 242);
/* oklch */ color: oklch(64.6% 0.194 298.4);
Tailwind
colors: {
  custom: {
    50: '#c098f7',
    500: '#9f6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #9f6cf2;
$custom-light: #c098f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6cf2",
  "rgb": {
    "r": 159,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 262.836,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.19415,
    "h": 298.4
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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