#9F6FEF#9F6FEF

#9F6FEF is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.9% C 0.186 H 298.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9F6FEF
RGBrgb(159, 111, 239)
HSLhsl(263, 80%, 69%)
HSVhsv(263, 54%, 94%)
CMYKcmyk(33.5%, 53.6%, 0%, 6.3%)
CIE-LABlab(57.05, 45.42, -57.91)
CIE-LCHlch(57.05, 73.60, 308.10°)
OKLaboklab(64.87% 0.0885 -0.1638)
OKLCHoklch(64.87% 0.186 298.4)
XYZxyz(35.5587, 24.9714, 84.5912)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6FEF #BFEF6F
analogous
#6F7FEF #9F6FEF #DF6FEF
triadic
#9F6FEF #EF9F6F #6FEF9F
tetradic
#9F6FEF #EF6F7F #BFEF6F #6FEFDF
square
#9F6FEF #EF6F7F #BFEF6F #6FEFDF
split-complementary
#9F6FEF #EFDF6F #7FEF6F
monochromatic
#5B17CD #7A38E9 #9F6FEF #C4A6F5 #E8DDFB

Accessibility & contrast

On white

3.50
#9F6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9F6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6FEF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6FEF#FFFFFF#000000##000000
##9F6FEF1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B89F3
Deuteranopia (green-blind)
#4988EC
Tritanopia (blue-blind)
#8E89A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6fef;
/* rgb */ color: rgb(159, 111, 239);
/* oklch */ color: oklch(64.9% 0.186 298.4);
Tailwind
colors: {
  custom: {
    50: '#bf9af5',
    500: '#9f6fef',
    950: '#000000',
  },
}
SCSS
$custom: #9f6fef;
$custom-light: #bf9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6fef",
  "rgb": {
    "r": 159,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 262.5,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64868,
    "c": 0.18616,
    "h": 298.4
  },
  "luminance": 0.24972
}

Semantic roles & 50–950 ramp

primary
#9F6FEF
secondary
#E2F0CA
accent
#DC098D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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