#9F74FF#9F74FF

#9F74FF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.199 H 294.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9F74FF
RGBrgb(159, 116, 255)
HSLhsl(259, 100%, 73%)
HSVhsv(259, 55%, 100%)
CMYKcmyk(37.6%, 54.5%, 0%, 0%)
CIE-LABlab(59.05, 46.75, -63.56)
CIE-LCHlch(59.05, 78.90, 306.33°)
OKLaboklab(66.65% 0.0829 -0.1804)
OKLCHoklch(66.65% 0.199 294.7)
XYZxyz(38.5888, 27.0809, 97.7824)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74FF #D4FF74
analogous
#748EFF #9F74FF #E474FF
triadic
#9F74FF #FF9F74 #74FF9F
tetradic
#9F74FF #FF748E #D4FF74 #74FFE4
square
#9F74FF #FF748E #D4FF74 #74FFE4
split-complementary
#9F74FF #FFE474 #8EFF74
monochromatic
#4D00F9 #7537FF #9F74FF #C9B1FF #EAE0FF

Accessibility & contrast

On white

3.27
#9F74FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9F74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74FF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74FF#FFFFFF#000000##000000
##9F74FF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#3F8CFC
Tritanopia (blue-blind)
#8791AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9f74ff;
/* rgb */ color: rgb(159, 116, 255);
/* oklch */ color: oklch(66.6% 0.199 294.7);
Tailwind
colors: {
  custom: {
    50: '#c09dff',
    500: '#9f74ff',
    950: '#000000',
  },
}
SCSS
$custom: #9f74ff;
$custom-light: #c09dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74ff",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 258.561,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66648,
    "c": 0.19853,
    "h": 294.7
  },
  "luminance": 0.27082
}

Semantic roles & 50–950 ramp

primary
#9F74FF
secondary
#ECF7D4
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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