#9F6EF2#9F6EF2

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

Color values

HEX#9F6EF2
RGBrgb(159, 110, 242)
HSLhsl(262, 84%, 69%)
HSVhsv(262, 55%, 95%)
CMYKcmyk(34.3%, 54.5%, 0%, 5.1%)
CIE-LABlab(57.01, 46.72, -59.64)
CIE-LCHlch(57.01, 75.76, 308.07°)
OKLaboklab(64.9% 0.0898 -0.1689)
OKLCHoklch(64.9% 0.191 298)
XYZxyz(35.8971, 24.9332, 86.9085)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6EF2 #C1F26E
analogous
#6E7FF2 #9F6EF2 #E16EF2
triadic
#9F6EF2 #F29F6E #6EF29F
tetradic
#9F6EF2 #F26E7F #C1F26E #6EF2E1
square
#9F6EF2 #F26E7F #C1F26E #6EF2E1
split-complementary
#9F6EF2 #F2E16E #7FF26E
monochromatic
#5A13D3 #7A36ED #9F6EF2 #C4A6F7 #E9DEFC

Accessibility & contrast

On white

3.51
#9F6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F6EF2#FFFFFF#000000##000000
##9F6EF21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#8D89A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f6ef2;
/* rgb */ color: rgb(159, 110, 242);
/* oklch */ color: oklch(64.9% 0.191 298.0);
Tailwind
colors: {
  custom: {
    50: '#bf99f7',
    500: '#9f6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ef2;
$custom-light: #bf99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ef2",
  "rgb": {
    "r": 159,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 262.273,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.19126,
    "h": 298
  },
  "luminance": 0.24934
}

Semantic roles & 50–950 ramp

primary
#9F6EF2
secondary
#E3F1CB
accent
#E0068F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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