#9F74FA#9F74FA

#9F74FA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.192 H 295.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9F74FA
RGBrgb(159, 116, 250)
HSLhsl(259, 93%, 72%)
HSVhsv(259, 54%, 98%)
CMYKcmyk(36.4%, 53.6%, 0%, 2%)
CIE-LABlab(58.75, 45.46, -61.28)
CIE-LCHlch(58.75, 76.30, 306.57°)
OKLaboklab(66.33% 0.0828 -0.1737)
OKLCHoklch(66.33% 0.192 295.5)
XYZxyz(37.7943, 26.7631, 93.5985)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74FA #CFFA74
analogous
#748CFA #9F74FA #E274FA
triadic
#9F74FA #FA9F74 #74FA9F
tetradic
#9F74FA #FA748C #CFFA74 #74FAE2
square
#9F74FA #FA748C #CFFA74 #74FAE2
split-complementary
#9F74FA #FAE274 #8CFA74
monochromatic
#5108EB #7639F8 #9F74FA #C8AFFC #EBE1FE

Accessibility & contrast

On white

3.31
#9F74FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9F74FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74FA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74FA#FFFFFF#000000##000000
##9F74FA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFF
Deuteranopia (green-blind)
#458BF7
Tritanopia (blue-blind)
#898FAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f74fa;
/* rgb */ color: rgb(159, 116, 250);
/* oklch */ color: oklch(66.3% 0.192 295.5);
Tailwind
colors: {
  custom: {
    50: '#c09dfd',
    500: '#9f74fa',
    950: '#000000',
  },
}
SCSS
$custom: #9f74fa;
$custom-light: #c09dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74fa",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 259.254,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66335,
    "c": 0.19239,
    "h": 295.5
  },
  "luminance": 0.26764
}

Semantic roles & 50–950 ramp

primary
#9F74FA
secondary
#EBF6D4
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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