#9F6BEC#9F6BEC

#9F6BEC is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.1% C 0.188 H 299.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9F6BEC
RGBrgb(159, 107, 236)
HSLhsl(264, 77%, 67%)
HSVhsv(264, 55%, 93%)
CMYKcmyk(32.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(56.03, 46.86, -57.87)
CIE-LCHlch(56.03, 74.46, 309.00°)
OKLaboklab(64.06% 0.0933 -0.1637)
OKLCHoklch(64.06% 0.188 299.7)
XYZxyz(34.6925, 23.9422, 82.1342)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6BEC #B8EC6B
analogous
#6B78EC #9F6BEC #E06BEC
triadic
#9F6BEC #EC9F6B #6BEC9F
tetradic
#9F6BEC #EC6B78 #B8EC6B #6BECE0
square
#9F6BEC #EC6B78 #B8EC6B #6BECE0
split-complementary
#9F6BEC #ECE06B #78EC6B
monochromatic
#5E19C4 #7C35E5 #9F6BEC #C2A1F3 #E5D7FA

Accessibility & contrast

On white

3.63
#9F6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9F6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6BEC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6BEC#FFFFFF#000000##000000
##9F6BEC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#8F85A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f6bec;
/* rgb */ color: rgb(159, 107, 236);
/* oklch */ color: oklch(64.1% 0.188 299.7);
Tailwind
colors: {
  custom: {
    50: '#bf97f3',
    500: '#9f6bec',
    950: '#000000',
  },
}
SCSS
$custom: #9f6bec;
$custom-light: #bf97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6bec",
  "rgb": {
    "r": 159,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 264.186,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.1884,
    "h": 299.7
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#9F6BEC
secondary
#DDEEC5
accent
#D90C87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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