#9F74F2#9F74F2

#9F74F2 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.8% C 0.183 H 296.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9F74F2
RGBrgb(159, 116, 242)
HSLhsl(260, 83%, 70%)
HSVhsv(260, 52%, 95%)
CMYKcmyk(34.3%, 52.1%, 0%, 5.1%)
CIE-LABlab(58.29, 43.42, -57.59)
CIE-LCHlch(58.29, 72.12, 307.01°)
OKLaboklab(65.85% 0.0824 -0.1628)
OKLCHoklch(65.85% 0.183 296.8)
XYZxyz(36.5665, 26.2720, 87.1317)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74F2 #C7F274
analogous
#7488F2 #9F74F2 #DE74F2
triadic
#9F74F2 #F29F74 #74F29F
tetradic
#9F74F2 #F27488 #C7F274 #74F2DE
square
#9F74F2 #F27488 #C7F274 #74F2DE
split-complementary
#9F74F2 #F2DE74 #88F274
monochromatic
#5714D7 #783CED #9F74F2 #C6ACF7 #ECE3FC

Accessibility & contrast

On white

3.36
#9F74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9F74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74F2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74F2#FFFFFF#000000##000000
##9F74F21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#8C8DA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f74f2;
/* rgb */ color: rgb(159, 116, 242);
/* oklch */ color: oklch(65.8% 0.183 296.8);
Tailwind
colors: {
  custom: {
    50: '#bf9df7',
    500: '#9f74f2',
    950: '#000000',
  },
}
SCSS
$custom: #9f74f2;
$custom-light: #bf9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74f2",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 260.476,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65846,
    "c": 0.18251,
    "h": 296.8
  },
  "luminance": 0.26273
}

Semantic roles & 50–950 ramp

primary
#9F74F2
secondary
#E6F2CF
accent
#DF0695
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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