#9F6DF2#9F6DF2

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

Color values

HEX#9F6DF2
RGBrgb(159, 109, 242)
HSLhsl(263, 84%, 69%)
HSVhsv(263, 55%, 95%)
CMYKcmyk(34.3%, 55%, 0%, 5.1%)
CIE-LABlab(56.80, 47.26, -59.98)
CIE-LCHlch(56.80, 76.36, 308.24°)
OKLaboklab(64.74% 0.091 -0.1699)
OKLCHoklch(64.74% 0.193 298.2)
XYZxyz(35.7898, 24.7186, 86.8728)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6DF2 #C0F26D
analogous
#6D7EF2 #9F6DF2 #E16DF2
triadic
#9F6DF2 #F29F6D #6DF29F
tetradic
#9F6DF2 #F26D7E #C0F26D #6DF2E1
square
#9F6DF2 #F26D7E #C0F26D #6DF2E1
split-complementary
#9F6DF2 #F2E16D #7EF26D
monochromatic
#5B13D2 #7A35ED #9F6DF2 #C4A5F7 #E9DDFC

Accessibility & contrast

On white

3.53
#9F6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F6DF2#FFFFFF#000000##000000
##9F6DF21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#8D88A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9f6df2;
/* rgb */ color: rgb(159, 109, 242);
/* oklch */ color: oklch(64.7% 0.193 298.2);
Tailwind
colors: {
  custom: {
    50: '#c098f7',
    500: '#9f6df2',
    950: '#000000',
  },
}
SCSS
$custom: #9f6df2;
$custom-light: #c098f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6df2",
  "rgb": {
    "r": 159,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 262.556,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.19271,
    "h": 298.2
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#9F6DF2
secondary
#E2F1CA
accent
#E0058E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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